01017ad7fc2af8ad4350e0304135e799aa5113dd
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2
3 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4 error from `read-from-string'. (Bug#16850)
5
6 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
7 result of `completing-read' in the interactive form. (Bug#16854)
8
9 2014-02-25 Glenn Morris <rgm@gnu.org>
10
11 * image.el (image-animate, image-animate-timeout):
12 Stop animating images in dead buffers. (Bug#16878)
13
14 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
15
16 * faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.
17 * startup.el (term-setup-hook): Doc fix. Make obsolete.
18 * term/sun.el (sun-raw-prefix-hooks):
19 Use tty-setup-hook instead of term-setup-hook.
20 (terminal-init-sun): Construct message from bytecomp plist.
21 * term/wyse50.el (enable-arrow-keys): Doc fix.
22
23 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
24
25 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
26 Fix docstring typos.
27
28 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
29
30 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
31
32 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
33
34 * minibuffer.el (completion--try-word-completion):
35 Fix error when completing M-x commands (bug#16808).
36
37 2014-02-24 Leo Liu <sdl.web@gmail.com>
38
39 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
40
41 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
42
43 * apropos.el (apropos-print): Avoid formatting error when
44 apropos-do-all and apropos-compact-layout are both t.
45
46 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
47
48 * apropos.el (apropos-property, apropos-all-words-regexp)
49 (apropos-true-hit, apropos-variable, apropos-print):
50 Fix docstring typos, and remove obsolete comment.
51
52 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/tramp-sh.el (tramp-sh-handle-file-truename):
55 Preserve trailing "/". (Bug#16851)
56
57 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
58
59 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
60 after `=>' (bug#16811).
61 (ruby-smie-rules): Handle the inconsistent second element of the
62 list returned by `smie-indent--parent'.
63 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
64 method call.
65
66 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
67
68 * elec-pair.el (electric-pair-text-syntax-table)
69 (electric-pair-syntax-info, electric-pair--syntax-ppss)
70 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
71 (electric-pair--looking-at-unterminated-string-p): Doc fix.
72 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
73
74 2014-02-22 Glenn Morris <rgm@gnu.org>
75
76 * imenu.el (imenu--generic-function): Doc fix.
77
78 * register.el (frame-configuration-to-register): Make obsolete.
79
80 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
81
82 * desktop.el (desktop-save-buffer-p): Do not fail when
83 desktop-files-not-to-save is nil. Return t for true result
84 as the doc says.
85
86 2014-02-22 Daniel Colascione <dancol@dancol.org>
87
88 * net/secrets.el (secrets-create-item,secrets-search-items): Check
89 that attribute values are strings, avoiding the construction of
90 invalid dbus messages.
91
92 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
93
94 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
95 defun-declarations-alist.
96
97 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
100 (bug#16829).
101
102 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
103
104 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
105 (whitespace-newline, whitespace-trailing, whitespace-line)
106 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
107 (whitespace-space-after-tab): Fix typo in docstrings.
108
109 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
110
111 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
112
113 * electric.el (electric-indent-functions-without-reindent):
114 Add `yaml-indent-line'.
115
116 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
117
118 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
119 It has done nothing for years; should be removed after the release.
120
121 * simple.el (choose-completion): Fix docstring typo.
122 (read-quoted-char-radix): Remove unneeded * in docstring.
123 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
124 Don't escape parentheses unnecessarily in docstrings.
125
126 2014-02-21 Martin Rudalics <rudalics@gmx.at>
127
128 Fix handling of window-min-height/-width (Bug#16738).
129 * window.el (window--dump-window, window--dump-frame):
130 New functions.
131 (window--min-size-1): Account for window dividers.
132 When window-resize-pixelwise is nil, delay rounding till after the
133 sum of the window components has been calculated.
134 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
135 nil make sure at least one text line and two text columns remain
136 fully visible.
137 (window-resize): Signal an error when window-resize-apply fails.
138 (window--resize-child-windows): Fix calculation of by how many
139 pixels a window can still be shrunk via window-new-normal.
140 (adjust-window-trailing-edge): Call window--resizable with
141 correct TRAIL argument.
142
143 (with-temp-buffer-window): Don't evaluate BODY within
144 with-current-buffer (Bug#16816).
145
146 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
147
148 * net/tramp.el (tramp-check-cached-permissions):
149 Call `file-attributes' with `suffix' being a symbol but a string.
150
151 2014-02-21 Daniel Colascione <dancol@dancol.org>
152
153 * net/dbus.el (dbus-init-bus-1): Declare new subr.
154 (dbus-init-bus): New function: call into dbus-init-bus-1
155 and installs a handler for the disconnect signal.
156 (dbus-call-method): Rewrite to look for result in cons.
157 (dbus-call-method-handler): Store result in cons.
158 (dbus-check-event): Recognize events with nil sender as valid.
159 (dbus-handle-bus-disconnect): New function. React to bus
160 disconnection signal by synthesizing dbus error for each
161 pending synchronous or asynchronous call.
162 (dbus-notice-synchronous-call-errors): New function.
163 (dbus-handle-event): Raise errors directly only when `dbus-debug'
164 is true, not all the time.
165
166 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
167
168 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
169 Remove obsolescence declarations, these variables do not exist anymore.
170
171 * savehist.el (savehist-save-minibuffer-history)
172 (savehist-additional-variables, savehist-file, savehist-mode-hook)
173 (savehist-save-hook, savehist-coding-system, savehist-loaded)
174 (savehist-load, savehist-install, savehist-autosave): Fix typos;
175 mostly, refer to "Savehist mode" when talking about the mode,
176 and not the function.
177
178 * saveplace.el (save-place): Remove redundant info in docstring.
179 (save-place-forget-unreadable-files, toggle-save-place)
180 (save-place-forget-unreadable-files, save-place-dired-hook):
181 Fix typos and remove unneeded backslashes.
182
183 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
184
185 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
186 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
187
188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
189 <insert-directory>: Use `tramp-handle-insert-directory'.
190 (tramp-gvfs-handle-insert-directory): Remove function.
191
192 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
193 Call `tramp-handle-insert-directory'.
194
195 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
196
197 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
198 before the start of buffer/region (bug#16799).
199
200 2014-02-20 Glenn Morris <rgm@gnu.org>
201
202 * isearch.el (search-invisible): Doc fix.
203
204 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
205
206 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
207 (bug#16657).
208
209 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
210
211 * frameset.el (frameset-restore): Delay removing an old frame's
212 duplicate id until the new frame has been correctly created.
213
214 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
215
216 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
217 (tramp-check-cached-permissions): Call `file-attributes' if the
218 cache is empty.
219
220 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
221 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
222
223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
224 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
225 (tramp-gvfs-maybe-open-connection): Set always connection
226 properties, even if target is mounted already.
227
228 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
229 Set tramp-autoload cookie.
230 (tramp-get-remote-touch): New defun.
231 (tramp-sh-handle-set-file-times): Use it.
232 (tramp-sh-handle-directory-files-and-attributes):
233 Use `tramp-handle-directory-files-and-attributes' if neither stat
234 nor perl are available on the remote host.
235
236 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
237 "/". Write long listing only when "l" belongs to the switches.
238
239 * net/trampver.el: Update release number.
240
241 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
242
243 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
244
245 2014-02-19 Martin Rudalics <rudalics@gmx.at>
246
247 * window.el (window-state-put): Allow WINDOW to refer to an
248 internal window (Bug#16793).
249
250 2014-02-19 Glenn Morris <rgm@gnu.org>
251
252 * textmodes/remember.el: Move provide statement to end.
253 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
254 (remember-notes): Doc fixes.
255
256 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * delsel.el (delete-char): Restore incorrectly erased property
259 (bug#16795).
260
261 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
262
263 * frameset.el (frameset--restore-frame): When a frame is being reused
264 and its root window is not alive, delete all the frame's windows before
265 restoring the window state. This works around the issue in bug#16793.
266
267 2014-02-18 Glenn Morris <rgm@gnu.org>
268
269 * textmodes/remember.el (remember-data-directory)
270 (remember-directory-file-name-format, remember-store-in-files)
271 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
272 (remember-notes-save-and-bury-buffer)
273 (remember-notes--kill-buffer-query): Doc fixes.
274
275 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
276
277 2014-02-17 Alan Mackenzie <acm@muc.de>
278
279 Connect electric-indent-mode up with CC Mode. Bug #15478.
280 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
281 to electric-indent-{,local-}-mode.
282 (c-basic-common-init): Set electric-indent-inhibit.
283 Initialise c-electric-flag from electric-indent-mode.
284 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
285 New hook functions which propagate electric-indent-mode to CC mode.
286
287 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
288 hit, toggle electric-indent-local-mode.
289
290 * electric.el (electric-indent-mode-has-been-called):
291 New variable.
292
293 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
294
295 * frameset.el (frameset-cfg-id): New function.
296 (frameset--reuse-frame, frameset-restore): Use it.
297 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
298
299 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * ido.el (ido-file-internal): Remove unused var `d'.
302 Use \` for to match BoS. Fit within 80n columns.
303
304 2014-02-17 Daniel Colascione <dancol@dancol.org>
305
306 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
307 dbus-call-method check for completion using a busy-wait loop with
308 gradual backoff.
309
310 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
311
312 Sync with Tramp 2.2.9.
313
314 * net/trampver.el: Update release number.
315
316 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
317
318 * ido.el (ido-file-internal): Don't add the name of an existing
319 directory twice. (Bug#16747)
320
321 2014-02-16 Glenn Morris <rgm@gnu.org>
322
323 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
324 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
325
326 2014-02-15 Michael R. Mauger <michael@mauger.com>
327
328 * progmodes/sql.el: Version 3.4
329 (sql-oracle-options): New default value ("-L").
330 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
331 (sql-placeholders-filter): Correct placeholder pattern.
332 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
333 (sql-login-delay): New variable.
334 (sql-product-interactive): Use it.
335
336 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
337
338 * frameset.el (frameset--jump-to-register): Check that buffer is live
339 (bug#16749).
340
341 2014-02-15 Glenn Morris <rgm@gnu.org>
342
343 * info.el (info-initialize): Revert 2014-01-10 change.
344
345 2014-02-14 Glenn Morris <rgm@gnu.org>
346
347 * replace.el (map-query-replace-regexp)
348 (read-regexp-defaults-function, read-regexp): Doc fixes.
349
350 * dired.el (dired-read-regexp):
351 * faces.el (list-faces-display):
352 * misearch.el (multi-isearch-read-matching-buffers)
353 (multi-isearch-read-matching-files):
354 * play/cookie1.el (cookie-apropos):
355 * progmodes/grep.el (grep-read-regexp): Doc fixes.
356
357 * textmodes/remember.el (remember): Use frameset-to-register
358 rather than frame-configuration-to-register.
359
360 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
361
362 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
363 incorrect keybinding.
364
365 2014-02-13 Daniel Colascione <dancol@dancol.org>
366
367 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
368 when adding overlays so that line numbers from compiler match line
369 numbers we use.
370
371 2014-02-13 Glenn Morris <rgm@gnu.org>
372
373 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
374
375 * jit-lock.el (jit-lock-mode): Doc fix.
376
377 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
378
379 * apropos.el (apropos-read-pattern): When the user passes an empty
380 string, give a more helpful error message than "Wrong type
381 argument: stringp, nil".
382
383 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
386
387 2014-02-13 Glenn Morris <rgm@gnu.org>
388
389 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
390
391 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
394 shift-select commands.
395
396 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
397
398 * progmodes/js.el (js-indent-line): Don't widen.
399 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
400
401 2014-02-12 Glenn Morris <rgm@gnu.org>
402
403 * icomplete.el (icomplete): Add info-link to defgroup.
404 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
405 (icomplete-minibuffer-map, icomplete-mode)
406 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
407
408 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
409 (package-menu-filter): Rename from package-menu-filter-interactive.
410 Doc fix.
411
412 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
413
414 * frameset.el (frameset--jump-to-register): Select the required
415 window and buffer before restoring position (bug#16696).
416
417 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
418
419 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
420
421 2014-02-10 Glenn Morris <rgm@gnu.org>
422
423 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
424
425 2014-02-10 Eli Zaretskii <eliz@gnu.org>
426
427 * w32-common-fns.el (x-get-selection): Doc fix.
428 * select.el (x-get-selection): Doc fix. (Bug#15109)
429
430 * face-remap.el (face-remap-add-relative)
431 (face-remap-remove-relative, face-remap-reset-base)
432 (face-remap-set-base): Call force-mode-line-update to redisplay
433 the current buffer due to potential change in faces. (Bug#16709)
434
435 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
436
437 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
438 script more robustly.
439
440 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
441
442 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
443
444 * simple.el (choose-completion): Doc fix (bug#14160).
445
446 * subr.el (event-start): Say what a nil EVENT value means.
447
448 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
449 (bug#14197).
450
451 * progmodes/grep.el (find-program): Doc fix (bug#14289).
452
453 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
454
455 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
456
457 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
458 predicate function (bug#15455).
459
460 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
461
462 * ielm.el (inferior-emacs-lisp-mode): Instead of
463 `comment-use-global-state', set `comment-use-syntax'.
464
465 2014-02-10 Glenn Morris <rgm@gnu.org>
466
467 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
468
469 2014-02-09 Alan Mackenzie <acm@muc.de>
470
471 Fix c-invalidate-state-cache on narrowed buffers.
472 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
473 Widen when setting and clearing the CPP delimiter properties.
474
475 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
476
477 * help.el (describe-bindings): Doc fix (bug#9888).
478
479 * files.el (save-buffer): Use ARG as the parameter name for
480 consistency (bug#10346).
481 (save-buffer): Clarify the 0 argument (bug#10346).
482
483 * cus-edit.el (customize-apropos): Fix error string.
484 (custom-buffer-create): Doc fix (bug#11122).
485 (custom-sort-items): Doc fix (bug#11121).
486
487 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
488
489 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
490 (icomplete-simple-completing-p): Mention the previous variable.
491
492 * font-lock.el (font-lock-value-in-major-mode): Clarify the
493 meaning of the parameter (bug#12282).
494
495 * files.el (find-file-noselect): Clarify prompt when changing
496 readedness (bug#13261).
497 (locate-file): Suffixes aren't returned, so don't say that they
498 are (bug#12674).
499 (backup-inhibited): Doc clarification (bug#12525).
500
501 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
502 before we actually start to delete things (bug#16331).
503
504 * subr.el (event-start): Doc fix (bug#14228).
505 (event-end): Ditto.
506
507 2014-02-09 Glenn Morris <rgm@gnu.org>
508
509 * emacs-lisp/warnings.el (lwarn):
510 Empower help-enable-auto-load. (Bug#15940)
511
512 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
513
514 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
515 (Bug#16690)
516
517 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
518
519 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
520 Insert output at end of buffer. (Bug#16120)
521
522 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
523
524 * simple.el (choose-completion-string-functions): Document new
525 calling convention (bug#14153).
526 (execute-extended-command): Clarify doc string (bug#13373).
527
528 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
529
530 * find-dired.el (find-name-dired): Doc fix (bug#14290).
531 (find-grep-dired): Doc fix (bug#14288).
532
533 2014-02-08 Juri Linkov <juri@jurta.org>
534
535 * isearch.el (isearch-quote-char): Check character validity
536 like in `quoted-insert' (bug#16677).
537
538 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
539
540 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
541
542 * isearch.el (isearch-hide-immediately): Doc clarification
543 (bug#14723).
544
545 * simple.el (line-move): Document utility function used many
546 places in the Emacs sources (bug#14843).
547
548 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
549 (dired-prev-marked-file): Doc fix (bug#14855).
550 (dired-up-directory): Doc fix (bug#14848).
551
552 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
553
554 * files.el (file-relative-name): Doc fix (bug#15159).
555
556 * fringe.el (fringe-styles): Doc fix (bug#15239).
557
558 * isearch.el (isearch-filter-predicate): Documentation typo fix
559 (bug#15474).
560
561 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
562
563 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
564
565 * replace.el (replace-match-maybe-edit): Doc clarification
566 (bug#15632).
567
568 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
569
570 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
571
572 2014-02-08 Glenn Morris <rgm@gnu.org>
573
574 * help-fns.el (describe-variable):
575 Check {file,dir}-local-variables-alist, and buffer-file-name,
576 in the correct buffer.
577
578 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
579
580 * help-fns.el (describe-variable): Fix the case where
581 a value is directory-local with no dir-locals file. (Bug#16635)
582
583 2014-02-08 Glenn Morris <rgm@gnu.org>
584
585 * abbrev.el (edit-abbrevs-mode):
586 Derive from fundamental-mode. (Bug#16682)
587
588 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
589
590 * simple.el (quoted-insert): Check character validity (bug#16677).
591
592 2014-02-07 Juri Linkov <juri@jurta.org>
593
594 * desktop.el (desktop-read): Claim the lock when the owner is not
595 the current process. (Bug#16157)
596
597 2014-02-07 Juri Linkov <juri@jurta.org>
598
599 * desktop.el (desktop-buffers-not-to-save): Change default from nil
600 to "\\` ". (Bug#16651)
601
602 2014-02-07 Juri Linkov <juri@jurta.org>
603
604 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
605 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
606 (desktop-auto-save-cancel-timer): New function with some code from
607 `desktop-auto-save-set-timer'.
608 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
609 Instead of setting `desktop-save-mode' to nil, call
610 `desktop-save-mode' with arg 0. (Bug#16630)
611
612 2014-02-07 Glenn Morris <rgm@gnu.org>
613
614 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
615 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
616 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
617
618 * obsolete/iswitchb.el: Move to obsolete/.
619 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
620 since obsolete/ is not scanned for autoloads.
621 * emacs-lisp/authors.el (authors-valid-file-names):
622 Add iswitchb.el.
623
624 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
625 Disable now non-functional find-file-hook.
626
627 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
628
629 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
630 instead of ";" in order to avoid additional prompts. Let heredoc
631 scripts read from tty. (Bug#16582)
632 (tramp-send-command): No special handling of heredocs, it isn't
633 necessary anymore.
634
635 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
638 with a space (bug#16664). Limit the symbols considered to the ones
639 that are bound or fbound (bug#16646).
640
641 2014-02-06 Glenn Morris <rgm@gnu.org>
642
643 * epa.el (epa-mail-aliases): Doc fix.
644
645 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
646
647 * emacs-lisp/lisp.el (lisp-completion-at-point):
648 Use `completion-table-merge' instead of `completion-table-in-turn'
649 (bug#16604).
650
651 * minibuffer.el (completion-table-merge): New function.
652
653 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
654
655 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
656 (tramp-sh-handle-set-file-acl)
657 (tramp-sh-handle-start-file-process)
658 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
659 (tramp-find-executable, tramp-send-command): Use it.
660
661 2014-02-05 Glenn Morris <rgm@gnu.org>
662
663 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
664
665 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
666
667 * progmodes/python.el (python-shell-send-string):
668 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
669
670 2014-02-04 Anders Lindgren <andlind@gmail.com>
671
672 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
673 the names (bug#16620).
674
675 2014-02-03 Martin Rudalics <rudalics@gmx.at>
676
677 * faces.el (window-divider): New default value. Rewrite doc-string.
678 (window-divider-first-pixel, window-divider-last-pixel): New faces.
679
680 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
681
682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
683 `protected' and `public' can also be called without arguments.
684
685 2014-02-03 Glenn Morris <rgm@gnu.org>
686
687 * register.el (window-configuration-to-register)
688 (frame-configuration-to-register): Unadvertise unused argument.
689 * frameset.el (frameset-to-register): Remove unused argument.
690
691 * frameset.el (frameset-to-register):
692 * kmacro.el (kmacro-to-register):
693 * register.el (increment-register):
694 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
695 (calc-append-to-register, calc-prepend-to-register):
696 * play/gametree.el (gametree-layout-to-register)
697 (gametree-apply-register-layout):
698 * textmodes/picture.el (picture-clear-rectangle-to-register)
699 (picture-yank-rectangle-from-register):
700 * vc/emerge.el (emerge-combine-versions-register):
701 Use register-read-with-preview to read registers.
702
703 2014-02-03 João Távora <joaotavora@gmail.com>
704
705 * elec-pair.el (electric-pair-backward-delete-char): Don't error
706 when at beginning of (possibly narrowed) buffer.
707
708 2014-02-02 Daniel Colascione <dancol@dancol.org>
709
710 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
711 Also try to display local help from just before point.
712
713 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
714
715 c-parse-state. Don't "append-lower-brace-pair" in certain
716 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
717 recognised as a comment.
718
719 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
720 as well as normal comment starter.
721 (c-parse-state-get-strategy): Extra return possibility
722 'back-and-forward.
723 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
724 return value list to indicate replacement of a brace-pair cons
725 with its car.
726 (c-parse-state-1): With 'back-and-forward, only call
727 c-append-lower-brace-pair-to state-cache when cons-separated.
728
729 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
730
731 * term/ns-win.el (ns-suspend-error): New function.
732 (ns-initialize-window-system): Add ns-suspend-error to
733 suspend-hook (Bug#16612).
734
735 2014-02-02 Daniel Colascione <dancol@dancol.org>
736
737 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
738
739 2014-02-02 Daniel Colascione <dancol@dancol.org>
740
741 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
742
743 2014-02-02 Glenn Morris <rgm@gnu.org>
744
745 * register.el (register-read-with-preview, point-to-register)
746 (window-configuration-to-register, frame-configuration-to-register)
747 (jump-to-register, number-to-register, view-register, insert-register)
748 (copy-to-register, append-to-register, prepend-to-register)
749 (copy-rectangle-to-register): Doc fixes.
750
751 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
752
753 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
754 * emacs-lisp/find-func.el (find-function-C-source): Idem.
755 * emacs-lisp/nadvice.el (advice--cd*r): New function.
756 * help-fns.el (describe-function-1): Use it.
757
758 2014-02-02 Glenn Morris <rgm@gnu.org>
759
760 * register.el (register-preview-default): New function,
761 split from register-preview.
762 (register-preview-function): Rename from register-preview-functions,
763 make it not a hook.
764 (register-preview): Use register-preview-function.
765 (register-read-with-preview): Error on non-character event. (Bug#16595)
766
767 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
768
769 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
770 `:' before binary operators (bug#16609). Don't check for `:'
771 before `[' and `(', or their syntax status. A percent literal
772 can't end with either.
773 (ruby-font-lock-keywords): For built-ins that require arguments,
774 check that they're followed by something that looks like argument
775 (bug#16610).
776
777 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
778
779 * subr.el (butlast): Document what an omitted N means (bug#13437).
780 (nbutlast): Ditto.
781
782 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
783
784 * net/shr.el (shr-generic): Make into a defsubst to make the stack
785 depth shallower (bug#16587).
786 (shr-tag-svg): Respect `shr-inhibit-images'.
787 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
788
789 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
790
791 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
792 (ruby-smie-grammar): Make "." right-associative. Make its priority
793 lower than the ternary and all binary operators.
794 (ruby-smie-rules): Indent "(" relative to the first non-"."
795 parent, or the first "." parent at indentation.
796 Use `ruby-align-chained-calls' for indentation of "." tokens.
797 (Bug#16593)
798
799 2014-01-31 Juri Linkov <juri@jurta.org>
800
801 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
802 from `make-hash-table'.
803
804 * textmodes/ispell.el (ispell-init-process): Change message format
805 to be consistent with other messages.
806
807 2014-01-31 Glenn Morris <rgm@gnu.org>
808
809 * delsel.el (delete-selection-mode): Doc fix.
810
811 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
812 (trace-function-background): Doc fixes.
813
814 * ido.el (ido-use-virtual-buffers): Doc fix.
815 Reset :version, since the default value has not changed.
816
817 * register.el (register-preview-delay, register-read-with-preview):
818 Doc fixes.
819
820 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
821 do not mess with mail-buffer position (fixes 2009-11-03 change).
822 * progmodes/cc-mode.el (c-submit-bug-report):
823 Check auto-fill-mode is bound. (Bug#16592)
824
825 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
826
827 * startup.el (fancy-splash-image-file): New function,
828 split from fancy-splash-head.
829 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
830 so that we are both using the same image. (Bug#16574)
831
832 2014-01-30 Glenn Morris <rgm@gnu.org>
833
834 * simple.el (eval-expression): Doc fix.
835
836 * hexl.el (hexl-mode-hook):
837 * ielm.el (ielm-mode-hook):
838 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
839 (lisp-interaction-mode-hook):
840 * progmodes/cfengine.e (cfengine3-documentation-function):
841 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
842
843 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
846 is a symbol (bug#16584).
847
848 2014-01-30 Glenn Morris <rgm@gnu.org>
849
850 * help.el (help-for-help-internal): Add "P" to text.
851
852 2014-01-29 Glenn Morris <rgm@gnu.org>
853
854 * simple.el (just-one-space, cycle-spacing): Doc fixes.
855
856 2014-01-28 Martin Rudalics <rudalics@gmx.at>
857
858 * window.el (fit-frame-to-buffer): Fix calculations for margins and
859 height constraints.
860
861 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
862
863 * progmodes/hideif.el: Extend to full CPP expression syntax.
864 (hif-token-alist): Add missing tokens.
865 (hif-token-regexp): Add support for float/octal/hex immediates.
866 (hif-string-literal-regexp): New const.
867 (hif-tokenize): Recognize strings and float/octal/hex immediates.
868 (hif-exprlist): New function.
869 (hif-parse-if-exp): Use it.
870 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
871 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
872 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
873 (hif-logxor, hif-comma): New functions.
874
875 2014-01-28 Glenn Morris <rgm@gnu.org>
876
877 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
878
879 * indent.el (tab-stop-list): Doc fix. Add :version.
880
881 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
882 (cvs-append-to-ignore): Add compatibility alias.
883
884 2014-01-27 Glenn Morris <rgm@gnu.org>
885
886 * dired.el (dired-hide-details-mode): Don't autoload it,
887 since it cannot be used outside Dired buffers anyway.
888
889 * emulation/cua-base.el (cua-mode): Doc fix.
890
891 * dired.el (dired-hide-details-hide-symlink-targets)
892 (dired-hide-details-hide-information-lines)
893 (dired-hide-details-mode): Doc fixes.
894
895 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
896 * strokes.el (strokes-file): Doc fix. Bump :version.
897 (strokes-help): Doc fix.
898 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
899 * emulation/viper.el (viper): Doc fix for custom group.
900 (top-level): Remove oh-so-no-longer-relevant text about vip.
901 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
902
903 * ido.el (ido-save-directory-list-file):
904 * saveplace.el (save-place-file):
905 * calendar/timeclock.el (timeclock-file):
906 * net/quickurl.el (quickurl-url-file):
907 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
908 * progmodes/idlwave.el (idlwave-config-directory):
909 * textmodes/remember.el (remember-data-file):
910 Bump :version.
911
912 2014-01-26 Glenn Morris <rgm@gnu.org>
913
914 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
915 Doc fix. Make obsolete.
916 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
917
918 * sort.el (delete-duplicate-lines): Doc fix.
919
920 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
921
922 * progmodes/ada-mode.el (ada):
923 * woman.el (woman): Link to info manual and Commentary section.
924
925 * progmodes/flymake.el (flymake):
926 * nxml/nxml-mode.el (nxml):
927 * net/eww.el (eww):
928 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
929 * htmlfontify.el (htmlfontify):
930 * ses.el (ses):
931 * epa.el (epa):
932 * ido.el (ido): Link to info manual.
933
934 2014-01-25 Leo Liu <sdl.web@gmail.com>
935
936 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
937
938 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
939
940 * net/shr.el (shr-tag-img): Prefer the title over the alt text
941 (bug#16537).
942
943 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
944
945 * net/eww.el (eww-download-callback):
946 Fix reference to eww-download-directory.
947
948 * emacs-lisp/bytecomp.el (byte-compile-file):
949 Remove unused local variable `file-name'.
950
951 2014-01-24 Glenn Morris <rgm@gnu.org>
952
953 * woman.el (woman-default-faces, woman-monochrome-faces):
954 Fix obsolescence specification.
955
956 * subr.el (with-demoted-errors): Doc fix.
957
958 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
961 (cl--macroexp-fboundp): New function.
962 (cl--make-type-test): Use it.
963
964 2014-01-23 Glenn Morris <rgm@gnu.org>
965
966 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
967 * simple.el (eval-expression): Doc fixes.
968
969 2014-01-22 Glenn Morris <rgm@gnu.org>
970
971 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
972
973 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
974
975 * emacs-lisp/package.el: Write files silently.
976 (package-autoload-ensure-default-file, package--write-file-no-coding)
977 (package-generate-description-file, package--download-one-archive)
978 (package-install-from-archive): Tell `write-region' to stay quiet.
979 (package-menu-mode, package-menu--print-info): Omit the Archive column
980 if there's only one archive.
981 (package-all-keywords, package--has-keyword-p): Remove dead code.
982
983 2014-01-22 Glenn Morris <rgm@gnu.org>
984
985 * version.el (emacs-bzr-version-bzr): Fix typo.
986
987 * version.el (emacs-repository-get-version):
988 Check either .bzr or .git, but not both.
989 Make the git case actually use the DIR argument, and return nil
990 rather than the empty string.
991 Avoid error if .git exists but the git executable is not found.
992
993 2014-01-22 Martin Rudalics <rudalics@gmx.at>
994
995 Fixes in window size functions around Bug#16430 and Bug#16470.
996 * window.el (window-total-size, window-size): New argument ROUND.
997 (window--min-delta-1, window-min-delta, window--max-delta-1):
998 Be more conservative when calculating the numbers of lines or
999 columns a window can shrink (Bug#16430).
1000 (fit-window-to-buffer): Simplify code.
1001 * term.el (term-window-width): Call window-body-width again.
1002
1003 2014-01-22 Glenn Morris <rgm@gnu.org>
1004
1005 * image.el (image-format-suffixes): Doc fix.
1006
1007 * international/quail.el (quail-define-package): Doc fix.
1008
1009 * emacs-lisp/authors.el (authors-valid-file-names):
1010 (authors-renamed-files-alist): Additions.
1011
1012 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1013 reverts 2014-01-09 change. (Bug#16422)
1014
1015 * calc/calc-embed.el (thing-at-point-looking-at):
1016 * emacs-lisp/map-ynp.el (x-popup-dialog):
1017 * obsolete/lmenu.el (x-popup-dialog):
1018 * emacs-lisp/package.el (url-recreate-url):
1019 * mail/mailclient.el (clipboard-kill-ring-save):
1020 * subr.el (x-popup-dialog): Update declaration.
1021 * mail/rmail.el (rmail-mime-message-p):
1022 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1023
1024 2014-01-21 Daniel Colascione <dancol@dancol.org>
1025
1026 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1027 Correctly detect when we're inside an arithmetic expansion form
1028 containing nested parenthesis.
1029 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1030 to detect cases where we shouldn't expand "<<" to a heredoc
1031 skeleton.
1032
1033 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1036 (eldoc--message-command-p): New function.
1037 (eldoc-display-message-p): Use it.
1038 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1039 message is not automatically erased for us.
1040 (eldoc-print-current-symbol-info): Erase previous message, if any.
1041
1042 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1043
1044 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1045 specify it's an interactive function.
1046
1047 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1048 Fix regex used for scanning for citation keys which failed for
1049 citations with optional arguments.
1050
1051 2014-01-21 Leo Liu <sdl.web@gmail.com>
1052
1053 * simple.el (read--expression): Don't enable eldoc-mode.
1054
1055 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * simple.el (move-beginning-of-line): Make sure we don't move forward
1058 (bug#16497).
1059
1060 2014-01-20 Juri Linkov <juri@jurta.org>
1061
1062 * saveplace.el (toggle-save-place, save-place-to-alist)
1063 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1064 'dired-mode) before checking for dired-directory. (Bug#16477)
1065
1066 2014-01-20 Juri Linkov <juri@jurta.org>
1067
1068 * indent.el (indent-line-to): Use backward-to-indentation
1069 instead of back-to-indentation. (Bug#16461)
1070
1071 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1072
1073 Revert some of the CANNOT_DUMP fix (Bug#16494).
1074 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1075 but fixing this can wait until after the next release.
1076 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1077
1078 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1081 Use `password-word-equivalents'.
1082 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1083 to t. (Bug#5664, Bug#13124)
1084
1085 2014-01-19 Alan Mackenzie <acm@muc.de>
1086
1087 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1088 points.
1089 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1090 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1091 * progmodes/cc-mode.el (c-before-change, c-after-change)
1092 (c-font-lock-fontify-region): Bind it here.
1093
1094 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1095
1096 * term.el (term-window-width): Call window-text-width instead of
1097 window-width (Bug#16470).
1098
1099 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1100
1101 * simple.el (password-word-equivalents): Remove duplicates.
1102 Sort, to make this easier next time.
1103 Downcase. Omit ": " after "jelszó".
1104
1105 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1106
1107 * term/common-win.el (saved-region-selection): Defvar it.
1108 (x-select-text): Set saved-region-selection (Bug#16382).
1109
1110 2014-01-18 Glenn Morris <rgm@gnu.org>
1111
1112 * emacs-lisp/authors.el (authors-aliases)
1113 (authors-renamed-files-alist): Add some entries.
1114
1115 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1116
1117 * net/tramp.el (tramp-password-prompt-regexp):
1118 Use `password-word-equivalents' if available.
1119 (tramp-action-password, tramp-process-one-action)
1120 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1121
1122 2014-01-17 Chong Yidong <cyd@gnu.org>
1123
1124 * simple.el (password-word-equivalents): New defcustom.
1125 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1126 to 24.4.
1127 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1128 to t. (Bug#13124)
1129
1130 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1131
1132 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1133 (ruby-align-to-stmt-keywords): Change the default value.
1134 Use `ruby-alignable-keywords' to generate the possible customization
1135 choices.
1136 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1137 keywords, check against the value of `ruby-alignable-keywords'
1138 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1139
1140 2014-01-17 Glenn Morris <rgm@gnu.org>
1141
1142 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1143
1144 Make M-x authors return zero *Authors Errors* from current logs.
1145 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1146 (authors-ignored-files): Add some entries, remove others.
1147 (authors-ambiguous-files, authors-valid-file-names):
1148 Add some entries.
1149 (authors-renamed-files-alist): Add, remove, and adjust entries.
1150 (authors-renamed-files-regexps): Add some entries.
1151 Remove some very broad ones. Make some entries `lax'.
1152 (authors-lax-changelogs): New constant.
1153 (authors-disambiguate-file-name): Treat top-level specially.
1154 (authors-lax-changelog-p): New function.
1155 (authors-canonical-file-name): Check file as written against
1156 authors-valid-file-names. Do not special-case etc/.
1157 Handle `lax' logs and authors-renamed-files-regexps elements.
1158
1159 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1160
1161 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1162 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1163 callers.
1164
1165 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1168 Assume we're already in the proper buffer.
1169 Inspired by Anders Lindgren <andlind@gmail.com>.
1170 (follow-post-command-hook): Call it from the right buffer.
1171 (follow-comint-scroll-to-bottom): Adjust call.
1172 (follow-all-followers): Use get-buffer-window-list.
1173
1174 2014-01-15 Daniel Colascione <dancol@dancol.org>
1175
1176 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1177 `buffer-file-name' in interactive-form so that we don't leave
1178 pathless file names in `file-name-history'.
1179
1180 2014-01-15 Juri Linkov <juri@jurta.org>
1181
1182 * indent.el (indent-rigidly): Set deactivate-mark to nil
1183 in transient indentation mode. (Bug#16438)
1184
1185 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1186
1187 * emacs-lisp/package.el (package-desc-keywords): New function
1188 (Bug#16222).
1189 (describe-package-1, package-all-keywords)
1190 (package--has-keyword-p): Use it.
1191
1192 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1193
1194 * simple.el (define-alternatives): When creating the
1195 COMMAND-alternatives variable, assign COMMAND as its definition
1196 name so that `describe-variable' can relocate it.
1197
1198 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1199
1200 * font-lock.el (font-lock-keywords): Fix typo in docstring
1201 (bug#16307).
1202
1203 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1204
1205 * ispell.el (ispell-region): Reset `in-comment' for new line
1206 instead of wrongly reset `add-coment' (bug#13577).
1207
1208 2014-01-14 Daiki Ueno <ueno@gnu.org>
1209
1210 * epa-file.el (epa-file-write-region): Encode the region according
1211 to `buffer-file-format'. Problem reported at:
1212 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1213
1214 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1217 so it applies in the right buffer (bug#16410).
1218
1219 2014-01-13 Daniel Colascione <dancol@dancol.org>
1220
1221 * textmodes/rst.el (rst-define-key): Provide deprecated
1222 keybindings through named functions instead of anonymous ones so
1223 that "??" doesn't appear in describe-mode output.
1224
1225 2014-01-13 Bastien Guerry <bzg@gnu.org>
1226
1227 * simple.el (define-alternatives): Call the selected command
1228 interactively. When setting `COMMAND--implementation' for the
1229 first time, tell the user how to chose another implementation.
1230 Enhance the docstring.
1231
1232 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1235 (log-edit--match-first-line): New function.
1236 (log-edit-font-lock-keywords): Use it.
1237 (log-edit-mode): Make jit-lock-defer-multiline work.
1238
1239 2014-01-13 Bastien Guerry <bzg@gnu.org>
1240
1241 * rect.el (rectangle-mark-mode): When the region is not active,
1242 display a message saying that the mark as been set and that
1243 rectangle mode is in use.
1244 (rectangle--highlight-for-redisplay): Only put an overlay with a
1245 visible vertical bar when (display-graphic-p) is non-nil.
1246 This partially fixes Bug#16403.
1247
1248 2014-01-13 Juri Linkov <juri@jurta.org>
1249
1250 * info.el (Info-find-file): Go to DIR before displaying the error
1251 about a nonexistent file if no previous Info file is visited.
1252 Use `user-error' instead of `error' for "Info file %s does not exist".
1253 (Info-find-node-2): In case of a nonexistent node in unwind forms
1254 go to the Top node if there is no previous node to revert to.
1255 (Bug#16405)
1256
1257 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1258
1259 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1260 * window.el (fit-frame-to-buffer): Fix doc-string.
1261 Respect window-min-height/-width. Fit pixelwise when
1262 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1263 when avoiding that frame goes partially off-screen.
1264 (fit-window-to-buffer): Respect window-min-height/-width
1265 (Bug#14096).
1266
1267 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1270 after an empty line.
1271
1272 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * net/shr.el (shr-render-region): Autoload.
1275
1276 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1277
1278 * net/eww.el (eww-download-directory): Rename from
1279 `eww-download-path' (Bug#16419).
1280
1281 2014-01-12 Leo Liu <sdl.web@gmail.com>
1282
1283 * dired-x.el (dired-mode-map): Fix last change.
1284
1285 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1286
1287 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1288
1289 Spelling fixes.
1290 * emacs-lisp/generic.el (generic--normalize-comments):
1291 Rename from generic--normalise-comments. All uses changed.
1292 * play/bubbles.el (bubbles--neighborhood-score):
1293 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1294 (bubbles--neighborhood-available)
1295 (bubbles--update-neighborhood-score):
1296 Rename from names with 'neighbourhood'. All uses changed.
1297
1298 2014-01-12 Leo Liu <sdl.web@gmail.com>
1299
1300 Re-implement the feature of showing eldoc info after editing.
1301 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1302 (eldoc-edit-message-commands): New function.
1303 (eldoc-print-after-edit): New variable.
1304 (eldoc-pre-command-refresh-echo-area): Emit message only by
1305 eldoc-message-commands.
1306 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1307 if eldoc-print-after-edit is set. (Bug#16346)
1308 * simple.el (read--expression): Enable eldoc-mode.
1309 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1310
1311 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1312 Eric S. Raymond <esr@thyrsus.com>
1313
1314 * version.el (emacs-repository-get-version): Enhance so the
1315 function works correctly in either a Bazaar or Git repo.
1316
1317 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1318
1319 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1320 Goes with removal of the joke manpages from /etc.
1321
1322 2014-01-10 Kenichi Handa <handa@gnu.org>
1323
1324 * mail/rmail.el (rmail-get-coding-system):
1325 Check rmail-get-coding-function before "funcall"ing it.
1326
1327 2014-01-10 Glenn Morris <rgm@gnu.org>
1328
1329 * emacs-lisp/authors.el (authors-fixed-entries):
1330 Update for files that no longer exist.
1331
1332 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1333
1334 * version.el (emacs-bzr-get-version): Restore compatibilty with
1335 24.3 (Tested).
1336
1337 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1338
1339 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1340 and Podfile.
1341
1342 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1343
1344 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1345
1346 2014-01-10 Chong Yidong <cyd@gnu.org>
1347
1348 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1349
1350 2014-01-10 Anders Lindgren <andlind@gmail.com>
1351
1352 * follow.el (follow-cache-command-list): Include right-char and
1353 left-char.
1354
1355 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1356
1357 Spelling fixes.
1358 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1359 * woman.el (woman-mark-horizontal-position):
1360 Rename from woman-mark-horizonal-position. Use changed.
1361
1362 2014-01-10 Glenn Morris <rgm@gnu.org>
1363
1364 * info.el (info-initialize): If running uninstalled, ensure our
1365 own info files are always found first, even if INFOPATH is set.
1366
1367 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1368
1369 2014-01-09 David Engster <deng@randomsample.de>
1370
1371 * emacs-lisp/eieio-custom.el:
1372 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1373 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1374 * emacs-lisp/eieio.el: Regenerate autoloads.
1375
1376 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1377
1378 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1379 following renames. (Bug#8756)
1380
1381 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1384 (bug#16382).
1385 (activate-mark): Add `no-tmm' argument.
1386 (set-mark, push-mark-command): Use it instead of running
1387 activate-mark-hook by hand.
1388
1389 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1390
1391 In preparation for the move to git, sanitize out some
1392 Bazaar-specific names.
1393
1394 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1395
1396 * version.el (emacs-bzr-version): Name changed to
1397 emacs-repository-version. Obsolete-variable alias made.
1398 * loadup.el: Follow through on this name change.
1399 * mail/emacsbug.el (report-emacs-bug): Factor out any
1400 assumption about the version control system in use.
1401
1402 2014-01-08 David Engster <deng@randomsample.de>
1403
1404 * help-fns.el (help-fns-describe-function-functions):
1405 New variable to call functions for augmenting help buffers.
1406 (describe-function-1): Remove explicit calls to
1407 `help-fns--compiler-macro', `help-fns--parent-mode' and
1408 `help-fns--obsolete'. Put them in above new variable instead, and
1409 call them through `run-hook-with-args'.
1410 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1411 `eieio-describe-class'. Not meant for interactive use anymore,
1412 but to augment existing help buffers. Remove optional second
1413 argument. Create proper button for file location.
1414 Rewrite function to use `insert' instead of `princ' and `prin1' where
1415 possible.
1416 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1417 (eieio-method-def, eieio-class-def): Move further up.
1418 (describe-method, describe-generic, eieio-describe-method):
1419 Remove aliases.
1420 (eieio-help-constructor, eieio-help-generic): Rename from
1421 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1422 Rewrite to use `insert' in the current buffer and use proper help
1423 buttons.
1424 (eieio-help-find-method-definition)
1425 (eieio-help-find-class-definition): Also accept symbols as
1426 arguments.
1427 (eieio-help-mode-augmentation-maybee): Remove.
1428 (eieio-describe-class-sb): Use `describe-function'.
1429 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1430 Add `eieio-help-generic' and `eieio-help-constructor'.
1431
1432 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1433
1434 Spelling fixes.
1435 * language/china-util.el (hz-ascii-designation):
1436 Rename from hz-ascii-designnation.
1437 (hz-ascii-designation): Rename from hz-ascii-designnation.
1438 All uses changed.
1439
1440 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1443 package-alist.
1444
1445 2014-01-08 Bastien Guerry <bzg@gnu.org>
1446
1447 * emacs-lisp/package.el (package-delete):
1448 Correctly delete the package from package-alist.
1449
1450 2014-01-08 Daiki Ueno <ueno@gnu.org>
1451
1452 * emacs-lisp/package.el (url-recreate-url): Declare.
1453 (url-http-target-url): Declare.
1454 (package-handle-response): Include requested URL in the error message.
1455 (package--check-signature): Don't re-signal errors from
1456 package--with-work-buffer. Suggested by Stefan Monnier.
1457
1458 2014-01-07 Bastien Guerry <bzg@gnu.org>
1459
1460 * minibuffer.el (completion--try-word-completion): When both a
1461 hyphen and a space are possible candidates for the character
1462 following a word, display both candidates. (Bug#15980)
1463
1464 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1465
1466 * window.el (balance-windows-2): While rounding don't give a
1467 window more than the remainder. Bug#16351, bug#16383.
1468
1469 2014-01-07 Glenn Morris <rgm@gnu.org>
1470
1471 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1472 (menu-bar-help-menu): Use view-external-packages instead.
1473
1474 2014-01-07 Bastien Guerry <bzg@gnu.org>
1475
1476 * emacs-lisp/package.el (package-delete): Also delete the package
1477 name from `package-alist', not its description only.
1478
1479 2014-01-07 Glenn Morris <rgm@gnu.org>
1480
1481 * help.el (view-external-packages):
1482 * menu-bar.el (menu-bar-help-extra-packages):
1483 Visit efaq.info rather than etc/MORE.STUFF.
1484
1485 2014-01-07 Juri Linkov <juri@jurta.org>
1486
1487 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1488 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1489
1490 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1491 that shadows RET. (Bug#16342)
1492
1493 2014-01-07 Chong Yidong <cyd@gnu.org>
1494
1495 * isearch.el (isearch-yank-char, isearch-yank-word)
1496 (isearch-yank-line): Doc fix.
1497
1498 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1501 * emacs-lisp/elint.el (elint-find-builtins):
1502 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1503 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1504 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1505 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1506 * apropos.el (apropos-safe-documentation):
1507 * subr.el (symbol-file): Remove redundant fboundp.
1508 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1509
1510 2014-01-06 Bastien Guerry <bzg@gnu.org>
1511
1512 * hl-line.el (global-hl-line-overlay): Make a local variable.
1513 (global-hl-line-overlays): New variable to store all overlays.
1514 (global-hl-line-mode): Don't delete overlays from the current
1515 buffer when `global-hl-line-sticky-flag' is non-nil.
1516 (global-hl-line-highlight): Add new overlays to
1517 `global-hl-line-overlays'.
1518 (global-hl-line-unhighlight-all): New function to delete all
1519 overlays when turning off `global-hl-line-mode'.
1520 This fixes Bug#16183.
1521
1522 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * subr.el (set-transient-map): Fix nested case and docstring.
1525
1526 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1527
1528 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1529 `Texinfo' entry.
1530
1531 2014-01-06 Daniel Colascione <dancol@dancol.org>
1532
1533 Fix defun navigation in vc log view.
1534
1535 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1536 like `beginning-of-defun'.
1537 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1538 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1539 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1540 (log-view-extract-comment): Call `log-view-current-entry' directly
1541 instead of relying on broken `log-view-beginning-of-defun' behavior.
1542
1543 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1544
1545 Spelling fixes.
1546 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1547 * emacs-lisp/debug.el (cancel-debug-on-entry):
1548 * epg.el (epg-error-to-string):
1549 * files.el (recover-file):
1550 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1551 * mail/emacsbug.el (report-emacs-bug-hook):
1552 * mail/sendmail.el (mail-recover):
1553 * ses.el (ses-yank-resize):
1554 * term/ns-win.el (ns-print-buffer):
1555 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1556 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1557 All uses changed.
1558 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1559
1560 2014-01-06 Leo Liu <sdl.web@gmail.com>
1561
1562 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1563 to avoid shadowing global key. (Bug#16354)
1564
1565 2014-01-06 Daniel Colascione <dancol@dancol.org>
1566
1567 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1568 rst-mode.
1569
1570 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1571
1572 * window.el (balance-windows): Add mising t to fix Bug#16351.
1573
1574 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1575
1576 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1577 (bug#16285).
1578 (shr-insert): If we have a word that's longer than `shr-width',
1579 break after it anyway. Otherwise we'll do no breaking once we get
1580 such a long word.
1581
1582 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1583
1584 * net/eww.el (eww): Support single/double quote for search.
1585 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1586 (eww-history-quit): Delete and use quit-window.
1587 (eww-history-kill): Delete, because it doesn't work well and
1588 not necessary.
1589 (eww-history-mode-map): Delete some keys and add easy-menu.
1590
1591 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1592
1593 Fix misspelling of 'chinese' in rx (Bug#16237).
1594 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1595 chinese-two-byte.
1596
1597 Change subword regexps back to vars (Bug#16296).
1598 * progmodes/subword.el (subword-forward-regexp)
1599 (subword-backward-regexp): Change these back to variables.
1600
1601 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1604 syntax-begin-function (bug#16247).
1605
1606 2014-01-03 Chong Yidong <cyd@gnu.org>
1607
1608 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1609 (advice--docstring): Delete variable.
1610 (advice--make-1): Leave the docstring empty.
1611 (advice-add): Use function-documentation for advised docstring.
1612
1613 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1614 Ignore function-documentation property when getting documentation.
1615 (ad-activate-advised-definition): Use function-documentation
1616 generate the docstring.
1617 (ad-make-advised-definition): Don't call
1618 ad-make-advised-definition-docstring.
1619 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1620 Delete functions.
1621
1622 * progmodes/sql.el (sql-help): Use function-documentation instead
1623 of dynamic-docstring-function property. No need to autoload now.
1624 (sql--help-docstring): New variable.
1625 (sql--make-help-docstring): Use it.
1626
1627 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * ielm.el (ielm-tab): Retarget.
1630 (ielm-map): Use ielm-tab for tab.
1631 (ielm-complete-filename): Use comint-filename-completion.
1632 (ielm-complete-symbol): Remove.
1633 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1634 remove ielm-tab from completion-at-point-functions (bug#16224).
1635
1636 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1637 Beware signals raised by predicates (bug#16201).
1638
1639 2014-01-02 Richard Stallman <rms@gnu.org>
1640
1641 * dired-aux.el (dired-do-print): Handle printer-name.
1642
1643 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1644 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1645 (rmail-epa-decrypt): Turn off mime processing.
1646
1647 * mail/rmail.el (rmail-make-in-reply-to-field):
1648 Add parens in message-id.
1649
1650 * mail/rmail.el (rmail-get-coding-function): Variable.
1651 (rmail-get-coding-system): Use it.
1652
1653 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1654
1655 * international/mule-conf.el: Unify the charset indian-is13194.
1656 (indian-is13194): Specify unify-map.
1657
1658 2013-12-31 Leo Liu <sdl.web@gmail.com>
1659
1660 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1661
1662 2013-12-30 Daniel Colascione <dancol@dancol.org>
1663
1664 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1665 of printing a useless when we resume from sleep.
1666
1667 * progmodes/sh-script.el
1668 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1669 in indentation code. (Bug#16233)
1670
1671 2013-12-28 João Távora <joaotavora@gmail.com>
1672
1673 * elec-pair.el (electric-pair-post-self-insert-function):
1674 Don't open extra newlines at beginning of buffer. (Bug#16272)
1675
1676 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1677
1678 * frame.el (window-system-for-display): Don't allow to create a
1679 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1680
1681 2013-12-28 Glenn Morris <rgm@gnu.org>
1682
1683 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1684 Update callers.
1685
1686 * apropos.el (apropos-match-face):
1687 * calculator.el (calculator-displayer):
1688 * dabbrev.el (dabbrev-search-these-buffers-only):
1689 * face-remap.el (buffer-face-mode-face):
1690 * simple.el (yank-handled-properties):
1691 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1692 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1693 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1694 (hashcash-double-spend-database):
1695 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1696 (ruby-deep-indent-paren-style):
1697 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1698 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1699 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1700 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1701 Specify custom types.
1702
1703 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1704 * bookmark.el (bookmark-bmenu-use-header-line):
1705 * doc-view.el (doc-view-scale-internally):
1706 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1707 * register.el (register-preview-delay):
1708 * net/shr.el (shr-bullet):
1709 * progmodes/cfengine.el (cfengine-cf-promises)
1710 (cfengine-parameters-indent):
1711 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1712 * textmodes/reftex-vars.el (reftex-label-regexps):
1713 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1714
1715 * net/tls.el (tls-certtool-program): Fix default value.
1716
1717 * desktop.el (desktop-restore-in-current-display):
1718 * newcomment.el (comment-empty-lines):
1719 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1720 (idlwave-pad-keyword):
1721 * progmodes/tcl.el (tcl-tab-always-indent):
1722 * textmodes/reftex-vars.el (reftex-index-default-tag):
1723 * elec-pair.el (electric-pair-skip-whitespace):
1724 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1725
1726 * emacs-lisp/authors.el (authors-ignored-files)
1727 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1728
1729 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1730
1731 * shell.el (shell-dynamic-complete-command): Doc fix.
1732 (shell--command-completion-data): Shell completion now matches
1733 executable filenames from the current buffer's directory, on
1734 systems in which this behavior is the default (windows-nt, ms-dos).
1735
1736 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1737
1738 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1739
1740 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1743 (bug#16251).
1744
1745 * electric.el: Move all electric-pair-* to elec-pair.el.
1746 * elec-pair.el: New file, split from electric.el.
1747
1748 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1749
1750 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1751 indentation level is larger than the width, because that will
1752 infloop.
1753 (shr-insert): Fill repeatedly long texts, so that Japanese is
1754 formatted correctly (bug#16263).
1755 (shr-find-fill-point): Off by one error in comparison with the
1756 indentation.
1757
1758 2013-12-26 João Távora <joaotavora@gmail.com>
1759
1760 * electric.el (electric-pair-mode): More flexible engine for skip-
1761 and inhibit predicates, new options for pairing-related functionality.
1762 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1763 if that keeps or improves their balance in buffers.
1764 (electric-pair-delete-adjacent-pairs): Delete the pair when
1765 backspacing over adjacent matched delimiters.
1766 (electric-pair-open-extra-newline): Open extra newline when
1767 inserting newlines between adjacent matched delimiters.
1768 (electric--sort-post-self-insertion-hook):
1769 Sort post-self-insert-hook according to priority values when
1770 minor-modes are activated.
1771 * simple.el (newline-and-indent): Call newline with interactive
1772 set to t.
1773 (blink-paren-post-self-insert-function): Set priority to 100.
1774 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1775 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1776 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1777 electric-pair-open-newline-between-pairs to nil.
1778
1779 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1780
1781 * progmodes/python.el: Use lexical-binding.
1782 (python-nav-beginning-of-defun): Stop searching ASAP.
1783
1784 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1785
1786 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1787 Fix interactive spec. Doc fix. (Bug#15754)
1788
1789 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1790
1791 * emacs-lisp/byte-run.el (eval-when-compile):
1792 * progmodes/cc-defs.el (cc-eval-when-compile):
1793 Fix edebug spec (bug#16184).
1794
1795 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1796
1797 * net/shr.el (shr-visit-file): Remove debugging function.
1798 (shr-insert): Don't infloop if we can't find a good place to break
1799 the line (bug#16256).
1800
1801 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1802
1803 * progmodes/python.el:
1804 (python-nav--lisp-forward-sexp): New function.
1805 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1806 python-nav-lisp-forward-sexp-safe.
1807 (python-nav--forward-sexp): New argument SAFE allows switching
1808 forward sexp movement behavior for parens.
1809 (python-nav-forward-sexp): Throw errors on unterminated parens
1810 (Bug#16191).
1811 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1812 (python-nav-backward-sexp-safe): New functions.
1813 (python-shell-buffer-substring):
1814 Use `python-nav-forward-sexp-safe'.
1815
1816 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1817
1818 * net/shr.el (shr-find-fill-point): Don't break lines before a
1819 quotation mark.
1820 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1821 (shr-find-fill-point): Remove the special checks for the quotation
1822 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1823
1824 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1825
1826 * net/eww.el (eww-form-textarea): Use a different face for
1827 textareas than text input since they have different keymaps
1828 (bug#16142).
1829
1830 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1831
1832 * progmodes/python.el (python-nav-beginning-of-statement):
1833 Speed up (Bug#15295).
1834
1835 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1836
1837 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1838 the window configuration.
1839
1840 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1841
1842 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1843 we run on MS-Windows or MS-DOS.
1844
1845 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1846
1847 * window.el (balance-windows-area): Call window-size instead of
1848 window-height and window-width. Bug#16241.
1849
1850 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1851
1852 * net/eww.el (eww-bookmark-quit): Remove.
1853 (eww-bookmark-browse): Restore the window configuration when you
1854 choose a bookmark (bug#16144).
1855
1856 2013-12-24 Daniel Colascione <dancol@dancol.org>
1857
1858 * icomplete.el: Remove redundant :group arguments to `defcustom'
1859 throughout.
1860 (icomplete-show-matches-on-no-input): New customizable variable.
1861 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1862 we have something to show.
1863 (icomplete-exhibit): Compute completions even if we have no user input.
1864
1865 2013-12-23 Daniel Colascione <dancol@dancol.org>
1866
1867 * icomplete.el: Move `provide' to end of file.
1868
1869 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1870
1871 * net/gnutls.el (gnutls-verify-error): Add version tag.
1872
1873 2013-12-23 Chong Yidong <cyd@gnu.org>
1874
1875 * subr.el (set-transient-map): Rename from
1876 set-temporary-overlay-map. Doc fix.
1877
1878 * face-remap.el (text-scale-adjust):
1879 * indent.el (indent-rigidly):
1880 * kmacro.el (kmacro-call-macro):
1881 * minibuffer.el (minibuffer-force-complete):
1882 * repeat.el (repeat):
1883 * simple.el (universal-argument--mode):
1884 * calendar/todo-mode.el (todo-insert-item--next-param):
1885 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1886
1887 * indent.el (indent-rigidly): Use substitute-command-keys.
1888
1889 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1890
1891 * net/eww.el (eww-tag-select): Add text-property to jump to next
1892 select field.
1893 (eww): Add non-supported ftp error.
1894
1895 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1898 comments. Handle electric indent after typing `?' and `!'.
1899
1900 2013-12-22 Chong Yidong <cyd@gnu.org>
1901
1902 * faces.el (face-spec-recalc): If the theme specs are not
1903 applicable to a frame, fall back on the defface spec.
1904 This prevents themes from obliterating faces on low-color terminals.
1905
1906 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1909 after `{'. We need it after block openers, and it doesn't seem
1910 to hurt after hash openers.
1911
1912 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1913
1914 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1915 extracted from `ruby-smie-rules'.
1916 (ruby--electric-indent-chars): New variable.
1917 (ruby--electric-indent-p): New function.
1918 (ruby-mode): Use `electric-indent-functions' instead of
1919 `electric-indent-chars'.
1920
1921 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1922
1923 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1924 docstring.
1925 (ruby-smie-rules): Indent plus one level after `=>'.
1926
1927 2013-12-21 Richard Stallman <rms@gnu.org>
1928
1929 * simple.el (newline): Doc fix.
1930
1931 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1932
1933 * net/eww.el (eww-list-histories, eww-list-histories)
1934 (eww-history-browse, eww-history-quit, eww-history-kill)
1935 (eww-history-mode-map, eww-history-mode): New command and
1936 functions to list browser histories.
1937 (eww-form-text): Support text form with disabled
1938 and readonly attributes.
1939 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1940
1941 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1942
1943 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1944 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1945 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1946 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1947 Use `user-error'.
1948 (eww-bookmark-mode-map): Add menu.
1949 (eww-render, eww-mode): Use `setq-local'.
1950 (eww-tool-bar-map): New variable.
1951 (eww-mode): Set `tool-bar-map'.
1952 (eww-view-source): Check for `html-mode' with `fboundp'.
1953
1954 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1955
1956 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1957 elements with text inside. Also remove debugging.
1958
1959 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1960
1961 * cus-start.el (all): Add ns-use-srgb-colorspace.
1962
1963 2013-12-21 Chong Yidong <cyd@gnu.org>
1964
1965 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1966 undefined. Thus, theme settings for undefined faces do not take
1967 effect until the faces are defined with defface, the same as with
1968 theme variables.
1969
1970 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1971 (face-spec-reset-face): Don't assign extra properties in temacs.
1972 (face-spec-recalc): Apply X resources too.
1973
1974 2013-12-21 Chong Yidong <cyd@gnu.org>
1975
1976 * faces.el (face-spec-set):
1977 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1978 * custom.el (defface): Doc fixes (Bug#16203).
1979
1980 * indent.el (indent-rigidly-map): Add docstring, and move commands
1981 into named functions.
1982 (indent-rigidly-left, indent-rigidly-right)
1983 (indent-rigidly-left-to-tab-stop)
1984 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1985 indentation direction based on bidi direction, and accumulate
1986 sequential commands in a single undo boundary.
1987 (indent-rigidly--pop-undo): New utility function.
1988
1989 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1990
1991 * faces.el (read-face-name): Require crm.el when using crm-separator.
1992
1993 2013-12-20 Daniel Colascione <dancol@dancol.org>
1994
1995 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1996 so that we don't reflow comments into the shebang line.
1997
1998 2013-12-20 Juri Linkov <juri@jurta.org>
1999
2000 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2001 a position when `dired-directory' is non-nil. Check integer
2002 positions with `integerp'.
2003 (toggle-save-place, save-places-to-alist): Add check for
2004 `dired-directory'.
2005 (save-place-find-file-hook): Check integer positions with
2006 `integerp'.
2007 (save-place-dired-hook): Use `dired-goto-file' when
2008 `dired-filename' is found in the assoc list. Check integer
2009 positions with `integerp'.
2010 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2011
2012 * dired.el (dired-initial-position-hook): Rename back from
2013 `dired-initial-point-hook'.
2014 (dired-initial-position): Rename `dired-initial-point-hook' to
2015 `dired-initial-position-hook'.
2016 (dired-file-name-at-point): Doc fix. (Bug#15329)
2017
2018 2013-12-20 Juri Linkov <juri@jurta.org>
2019
2020 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2021 (read-regexp-suggestions): New function.
2022 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2023 Use `read-regexp-suggestions'. Add non-empty default to history
2024 for empty input.
2025 (occur-read-regexp-defaults-function): Remove function.
2026 (occur-read-primary-args): Use `regexp-history-last' instead of
2027 `occur-read-regexp-defaults-function'.
2028
2029 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2030 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2031 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2032 `hi-lock-read-regexp-defaults-function'. Doc fix.
2033 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2034 with `find-tag-default-as-symbol-regexp'. Doc fix.
2035 (hi-lock-read-regexp-defaults): Remove function.
2036 (hi-lock-regexp-okay): Add check for null.
2037
2038 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2039 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2040
2041 * subr.el (find-tag-default-as-symbol-regexp): New function.
2042 (find-tag-default-as-regexp): Move symbol regexp formatting to
2043 `find-tag-default-as-symbol-regexp'.
2044
2045 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2046
2047 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2048 (Bug#14179)
2049
2050 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2051
2052 * calendar/todo-mode.el: New implementation of item insertion
2053 commands and key bindings.
2054 (todo-key-prompt): New face.
2055 (todo-insert-item): New command.
2056 (todo-insert-item--parameters): New defconst, replacing defvar
2057 todo-insertion-commands-args-genlist.
2058 (todo-insert-item--param-key-alist): New defconst, replacing
2059 defvar todo-insertion-commands-arg-key-list.
2060 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2061 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2062 (todo-insert-item--next-param): New functions.
2063 (todo-insert-item--args, todo-insert-item--argleft)
2064 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2065 New variables.
2066 (todo-key-bindings-t): Change binding of "i" from
2067 todo-insertion-map to todo-insert-item.
2068 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2069 (todo-insertion-command-name, todo-insertion-commands-names)
2070 (todo-define-insertion-command, todo-insertion-commands)
2071 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2072
2073 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2074
2075 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2076 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2077 eval-when-compile.
2078 (todo-move-category): Allow choosing a non-existing todo file to
2079 move the category to, and create that file.
2080 (todo-default-priority): New user option.
2081 (todo-set-item-priority): Use it.
2082 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2083 (desktop-restore-file-buffer): Declare.
2084 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2085 (todo-modes-set-2): Locally set desktop-save-buffer to
2086 todo-desktop-save-buffer.
2087 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2088 (auto-mode-alist): Add autoload cookie.
2089
2090 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2091
2092 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2093 helpers.el was a poor choice of name.
2094 (string-remove-prefix): New function.
2095 (string-remove-suffix): New function.
2096
2097 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2098
2099 Fix assignment for new window total sizes.
2100 * window.el (window--pixel-to-size): Remove function.
2101 (window--pixel-to-total-1, window--pixel-to-total):
2102 Fix calculation of new total sizes.
2103
2104 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2105
2106 * comint.el (comint-output-filter): Fix rear-nonsticky property
2107 placement (Bug#16010).
2108
2109 2013-12-20 Chong Yidong <cyd@gnu.org>
2110
2111 * faces.el (read-color): Minor fix for completion function.
2112
2113 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2114
2115 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2116 New option. (Bug#16182)
2117 (ruby-smie--indent-to-stmt-p): Use it.
2118 (ruby-smie-rules): Revert the logic in the handling of `when'.
2119 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2120 (ruby-deep-arglist, ruby-deep-indent-paren)
2121 (ruby-deep-indent-paren-style): Update docstrings to note that the
2122 vars don't have any effect with SMIE.
2123
2124 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2125
2126 * calc/calc.el (calc-enter, calc-pop): Use the variable
2127 `calc-context-sensitive-enter'.
2128
2129 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2130
2131 * net/shr.el (shr-insert): Protect against infloops in degenerate
2132 tables.
2133
2134 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2135
2136 * progmodes/octave.el (octave): Add link to manual and octave
2137 homepage.
2138 (octave-mode-menu): Link to octave-mode manual.
2139
2140 2013-12-20 Leo Liu <sdl.web@gmail.com>
2141
2142 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2143 insertion using skeleton-end-newline. (Bug#16138)
2144
2145 2013-12-20 Juri Linkov <juri@jurta.org>
2146
2147 * replace.el (occur-engine): Use `add-face-text-property'
2148 to add the face property to matches and titles. (Bug#14645)
2149
2150 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2151 the palette of other hi-lock colors.
2152 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2153
2154 2013-12-19 Juri Linkov <juri@jurta.org>
2155
2156 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2157 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2158 (minibuffer-history-symbol): Move variable declaration closer to
2159 its usage.
2160
2161 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2162 (Bug#14785)
2163
2164 2013-12-19 Juri Linkov <juri@jurta.org>
2165
2166 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2167 New function.
2168 (log-edit-hook): Add it to :options. (Bug#16170)
2169
2170 2013-12-19 Juri Linkov <juri@jurta.org>
2171
2172 * simple.el (eval-expression-print-format): Don't check for
2173 command names and the last command. Always display additional
2174 formats of the integer result in the echo area, and insert them
2175 to the current buffer only with a zero prefix arg.
2176 Display character when char-displayable-p is non-nil.
2177 (eval-expression): With a zero prefix arg, set `print-length' and
2178 `print-level' to nil, and insert the integer values from
2179 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2180
2181 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2182 `eval-last-sexp-arg-internal'. Doc fix.
2183 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2184 `eval-last-sexp-print-value'. Doc fix.
2185 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2186 Set `print-length' and `print-level' to nil when arg is zero.
2187 (eval-last-sexp): Doc fix.
2188 (eval-defun-2): Print the integer values from
2189 `eval-expression-print-format' at the end.
2190
2191 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2192 values from `eval-expression-print-format' at the end.
2193
2194 * ielm.el (ielm-eval-input): Print the integer
2195 values from `eval-expression-print-format' at the end.
2196
2197 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2198
2199 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2200 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2201
2202 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2205 (hl-line-highlight, global-hl-line-highlight): Use it.
2206 (hl-line-overlay): Use defvar-local.
2207
2208 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2209
2210 * term/ns-win.el: Require dnd.
2211 (global-map): Remove drag items.
2212 (ns-insert-text, ns-set-foreground-at-mouse)
2213 (ns-set-background-at-mouse):
2214 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2215 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2216 New functions.
2217
2218 2013-12-19 Glenn Morris <rgm@gnu.org>
2219
2220 * emacs-lisp/ert.el (ert-select-tests):
2221 Fix string/symbol mixup. (Bug#16121)
2222
2223 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2224
2225 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2226 keywords to their parent.
2227
2228 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2229
2230 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2231 first arg to be a string (fixed dead code), or an operator symbol.
2232 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2233 operator symbols.
2234 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2235 did nothing. Don't respond to `(:after ".")', it will be called
2236 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2237 change anything. Only return indentation for binary operators
2238 when they are hanging. De-dent opening paren when its parent is
2239 `.', otherwise it looks bad when the dot is not at bol or eol
2240 (bug#16182).
2241
2242 2013-12-19 Juri Linkov <juri@jurta.org>
2243
2244 * replace.el (query-replace-read-args): Split a non-negative arg
2245 and a negative arg into separate elements.
2246 (query-replace, query-replace-regexp, replace-string)
2247 (replace-regexp): Add arg `backward'. Doc fix.
2248 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2249 move point to the beginning of the match.
2250 (replace-search, replace-highlight): Use new arg `backward'
2251 to set the value of `isearch-forward'.
2252 (perform-replace): Add arg `backward' and use it to perform
2253 replacement backward. (Bug#14979)
2254
2255 * isearch.el (isearch-query-replace): Use a negative prefix arg
2256 to call `perform-replace' with a non-nil arg `backward'.
2257
2258 2013-12-18 Juri Linkov <juri@jurta.org>
2259
2260 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2261 to the default list. Move `log-edit-show-files' to the end.
2262 Add more available functions to options.
2263 (log-edit): Move default specific settings to
2264 `log-edit-insert-message-template'. Don't move point.
2265 (log-edit-insert-message-template): New function.
2266 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2267 (Bug#16170)
2268
2269 2013-12-18 Juri Linkov <juri@jurta.org>
2270
2271 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2272 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2273
2274 2013-12-18 Leo Liu <sdl.web@gmail.com>
2275
2276 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2277 (Bug#16186)
2278
2279 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2280
2281 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2282 formats for displaying file sizes when the -s switch is given.
2283 Instead, compute a separate format for displaying the size in
2284 blocks, which is displayed in addition to the "regular" size.
2285 When -h is given in addition to -s, produce size in blocks in
2286 human-readable form as well. (Bug#16179)
2287
2288 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2289
2290 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2291 Reference tables with ~\ref{...} instead of only \ref{...}.
2292
2293 2013-12-18 Chong Yidong <cyd@gnu.org>
2294
2295 * cus-edit.el (custom-magic-alist): Fix "themed" description
2296 (Bug#14348).
2297
2298 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2299 is non-nil, do not create a new entry in the symbol's theme-value
2300 or theme-face property; update theme-settings only (Bug#14664).
2301 (custom-available-themes): Doc fix.
2302
2303 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2304 (Bug#15674).
2305
2306 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2307
2308 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2309
2310 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2311 (Bug#13914).
2312
2313 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2314
2315 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2316
2317 2013-12-18 Glenn Morris <rgm@gnu.org>
2318
2319 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2320 * cus-start.el (load-prefer-newer): New option.
2321
2322 2013-12-18 Le Wang <l26wang@gmail.com>
2323
2324 * comint.el (comint-previous-matching-input-from-input):
2325 Retain point (Bug#13404).
2326
2327 2013-12-18 Chong Yidong <cyd@gnu.org>
2328
2329 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2330
2331 2013-12-18 Glenn Morris <rgm@gnu.org>
2332
2333 * mail/emacsbug.el (report-emacs-bug):
2334 Only mention enable-multibyte-characters if non-standard.
2335
2336 2013-12-17 Juri Linkov <juri@jurta.org>
2337
2338 * arc-mode.el (archive-extract-by-file): Check if directory exists
2339 before deletion to not show irrelevant errors if it doesn't exist.
2340
2341 2013-12-17 Juri Linkov <juri@jurta.org>
2342
2343 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2344 (Bug#14751)
2345
2346 * net/eww.el (browse-web): Add alias to `eww'.
2347 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2348 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2349
2350 * net/browse-url.el (browse-url-browser-function): Move `eww'
2351 closer to similar functions.
2352
2353 * startup.el (fancy-startup-screen, fancy-about-screen):
2354 Set browse-url-browser-function to eww-browse-url locally.
2355 (Bug#14751)
2356
2357 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * window.el (window--pixel-to-total): Remove unused `mini' var.
2360 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2361 (split-window): Remove unused `new' var.
2362 (window--display-buffer): Remove unused `frame' and `delta' vars.
2363 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2364 and display-width'.
2365
2366 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2367
2368 * dired.el (dired-mark-pop-up):
2369 * register.el (register-preview): Don't bind
2370 split-height-threshold here since it's now done in
2371 display-buffer-below-selected.
2372
2373 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2374
2375 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2376 xterm-rgb-convert-to-16bit.
2377 (rxvt-register-default-colors): Standardize with
2378 xterm-register-default-colors (Bug#14078).
2379
2380 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2381
2382 * simple.el (kill-region): Pass mark first, then point, so that
2383 kill-append works right (Bug#12819).
2384 (copy-region-as-kill, kill-ring-save): Likewise.
2385
2386 2013-12-17 Leo Liu <sdl.web@gmail.com>
2387
2388 * net/rcirc.el (rcirc-add-face):
2389 * eshell/em-prompt.el (eshell-emit-prompt):
2390 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2391 (Bug#16167)
2392
2393 2013-12-17 Chong Yidong <cyd@gnu.org>
2394
2395 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2396 Suggested by Xue Fuqiao.
2397
2398 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2399
2400 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2401
2402 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * net/shr.el (shr-insert-document): Remove unused var
2405 `shr-preliminary-table-render'.
2406 (shr-rescale-image): Remove unused arg `force'.
2407 (shr-put-image): Update calls accordingly.
2408 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2409
2410 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2411
2412 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2413 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2414 :close-all, to see which indentation method to use (Bug#16116).
2415 (smie-rules-function): Document the method :close-all.
2416
2417 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2418
2419 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2420
2421 * net/eww.el (eww-display-html): If we can't find the anchor we're
2422 looking for, then go to point-min.
2423
2424 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2425
2426 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2427 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2428 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2429 Expand dir too, in case it's relative.
2430
2431 2013-12-16 Juri Linkov <juri@jurta.org>
2432
2433 * desktop.el (desktop-auto-save-timeout): Change default to
2434 `auto-save-timeout'. Doc fix.
2435 (desktop-save): Skip the timestamp in desktop-saved-frameset
2436 when checking for auto-save changes.
2437 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2438 `desktop-auto-save' is called repeatedly by the idle timer.
2439 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2440 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2441 (Bug#15331)
2442
2443 2013-12-16 Juri Linkov <juri@jurta.org>
2444
2445 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2446 (Bug#16035)
2447 (isearch-pre-command-hook): Check `this-command' for symbolp.
2448
2449 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2452
2453 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2454
2455 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2456 (cfengine3--current-function): Bring in the current-function
2457 functionality from `cfengine3--current-word'.
2458 (cfengine3-completion-function): Bring in the
2459 bounds-of-current-word functionality from
2460 `cfengine3--current-word'.
2461
2462 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2463
2464 * window.el (display-buffer-below-selected):
2465 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2466
2467 2013-12-16 Leo Liu <sdl.web@gmail.com>
2468
2469 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2470 Remove NOMSG arg and all uses changed.
2471
2472 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2475 (cua--deactivate-rectangle): Don't deactivate the mark.
2476 (cua-set-rectangle-mark): Don't set mark-active since
2477 cua--activate-rectangle already does it for us.
2478 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2479 non-rectangular region.
2480
2481 * emulation/cua-base.el (cua-repeat-replace-region):
2482 Use with-current-buffer.
2483
2484 * net/gnutls.el: Use cl-lib.
2485 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2486
2487 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2488
2489 * emacs-lisp/package.el (package-built-in-p): Support both
2490 built-in and the package.el converted package descriptions.
2491 (package-show-package-list): Allow keywords.
2492 (package-keyword-button-action): Use it instead of
2493 `finder-list-matches'.
2494 (package-menu-filter-interactive): Interactive filtering (by
2495 keyword) function.
2496 (package-menu--generate): Support keywords and change keymappings
2497 and headers when they are given.
2498 (package--has-keyword-p): Helper function.
2499 (package-menu--refresh): Use it.
2500 (package--mapc): Helper function.
2501 (package-all-keywords): Use it.
2502 (package-menu-mode-map): Set up menu items and keybindings to
2503 provide a filtering UI.
2504
2505 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2506
2507 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2508 the behavior when a certificate fails validation. Defaults to
2509 old behavior: never abort, just warn.
2510 (gnutls-negotiate): Use it.
2511
2512 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2513
2514 * window.el (display-buffer-below-selected): Never split window
2515 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2516
2517 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2518
2519 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2520 (package-buffer-info): Use it (bug#15108).
2521
2522 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * icomplete.el (icomplete-completions): Make sure the prefix is already
2525 displayed elsewhere before hiding it (bug#16219).
2526
2527 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2528
2529 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2530 open-paren tokens when preceded by a open-paren, too.
2531 (ruby-smie-rules): Handle virtual indentation after open-paren
2532 tokens specially. If there is code between it and eol, return the
2533 column where is starts (Bug#16118).
2534
2535 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2536
2537 * progmodes/cfengine.el: Fix `add-hook' doc.
2538 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2539 (cfengine3--current-word): Fix parameters.
2540 (cfengine3-make-syntax-cache): Simplify further.
2541 (cfengine3-completion-function, cfengine3--current-function):
2542 Use `assq' for symbols.
2543 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2544
2545 2013-12-13 Glenn Morris <rgm@gnu.org>
2546
2547 * loadup.el (load-path): Warn if site-load or site-init changes it.
2548 No more need to reset it when bootstrapping.
2549
2550 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2551
2552 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2553 locations for cf-promises.
2554 (cfengine-mode-syntax-functions-regex): New caching variable.
2555 (cfengine3-fallback-syntax): Fallback syntax for cases where
2556 cf-promises doesn't run.
2557 (cfengine3--current-word): Reimplement using
2558 `cfengine-mode-syntax-functions-regex'.
2559 (cfengine3-completion-function, cfengine3--current-function):
2560 Use `cfengine3-make-syntax-cache' directly.
2561 (cfengine3-clear-syntax-cache): New function.
2562 (cfengine3-make-syntax-cache): Simplify and create
2563 `cfengine-mode-syntax-functions-regex' on demand.
2564 (cfengine3-format-function-docstring): Don't call
2565 `cfengine3-make-syntax-cache' explicitly.
2566
2567 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2568
2569 Fix windmove-find-other-window broken after pixelwise resizing
2570 (Bug#16017).
2571 * windmove.el (windmove-other-window-loc): Revert change from
2572 2013-12-04.
2573 (windmove-find-other-window): Call window-in-direction.
2574 * window.el (window-in-direction): New arguments SIGN, WRAP and
2575 MINI to emulate original windmove-find-other-window behavior.
2576
2577 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2578
2579 * simple.el (blink-matching--overlay): New variable.
2580 (blink-matching-open): Instead of moving point, highlight the
2581 matching paren with an overlay
2582 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2583
2584 * faces.el (paren-showing-faces, show-paren-match)
2585 (show-paren-mismatch): Move from paren.el.
2586
2587 2013-12-13 Leo Liu <sdl.web@gmail.com>
2588
2589 * indent.el (indent-region): Disable progress reporter in
2590 minibuffer. (Bug#16108)
2591
2592 * bindings.el (visual-order-cursor-movement): Fix version.
2593
2594 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2595
2596 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2597 Also match after beginning of line.
2598 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2599 files. Thanks to Russell Sim. (Bug#15378)
2600
2601 2013-12-13 Juri Linkov <juri@jurta.org>
2602
2603 * simple.el <Keypad support>: Remove key bindings duplicated
2604 with bindings.el. (Bug#14397)
2605
2606 2013-12-13 Juri Linkov <juri@jurta.org>
2607
2608 * comint.el (comint-mode-map): Replace `delete-char' with
2609 `delete-forward-char'. (Bug#16109)
2610
2611 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2612
2613 * progmodes/python.el (python-indent-calculate-indentation):
2614 Fix de-denters cornercase. (Bug#15731)
2615
2616 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2619 (advice--make): Pay attention to `depth'.
2620 (advice--make-1): Don't autoload commands eagerly.
2621 * emacs-lisp/elp.el (elp-instrument-function):
2622 * emacs-lisp/trace.el (trace-function-internal):
2623 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2624
2625 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2626
2627 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2628
2629 * term/w32-win.el (w32-handle-dropped-file):
2630 * startup.el (normal-top-level):
2631 * net/browse-url.el (browse-url-file-url):
2632 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2633 decode file names using 'utf-8' rather than
2634 file-name-coding-system.
2635
2636 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2637
2638 * progmodes/python.el (python-indent-context)
2639 (python-indent-calculate-indentation): Fix auto-identation
2640 behavior for comment blocks. (Bug#15916)
2641
2642 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2643
2644 * progmodes/python.el (python-indent-calculate-indentation):
2645 When determining indentation, don't treat "return", "pass", etc., as
2646 operators when they are just string constituents. (Bug#15812)
2647
2648 2013-12-12 Juri Linkov <juri@jurta.org>
2649
2650 * uniquify.el (uniquify-buffer-name-style): Change default to
2651 `post-forward-angle-brackets'.
2652
2653 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2654 `uniquify'. Change default to `post-forward-angle-brackets'.
2655
2656 2013-12-11 Glenn Morris <rgm@gnu.org>
2657
2658 * emacs-lisp/package.el (finder-list-matches):
2659 Autoload rather than falsely declaring.
2660
2661 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2662
2663 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2664 (eww-mode-map): Use them.
2665
2666 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2667
2668 * window.el (display-buffer-in-side-window): Fix doc-string
2669 (Bug#16115).
2670
2671 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2672
2673 * vc/vc-git.el: Silence byte-compiler warnings.
2674 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2675 (log-edit-set-header): Declare.
2676
2677 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2678
2679 * Makefile.in (custom-deps, finder-data): Run output file names
2680 through unmsys--file-name. (Bug#16099)
2681
2682 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2685 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2686
2687 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2688 instead of deleting the selection "by hand" (bug#16098).
2689 Rely on insert-for-yank to yank rectangles.
2690 (cua-highlight-region-shift-only): Mark obsolete.
2691 (cua-mode): Don't enable/disable transient-mark-mode,
2692 shift-select-mode (cua-mode works both with and without them), and
2693 pc-selection-mode (obsolete).
2694 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2695 (cua--deactivate-rectangle): Deactivate it.
2696
2697 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2698 (delete-selection-helper): Make sure yank starts at the top of the
2699 deleted region.
2700 (minibuffer-keyboard-quit): Use region-active-p.
2701
2702 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2703
2704 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2705 to `delete' (bug#16109).
2706
2707 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2708
2709 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2710 info manual and show keybindings and set `:group' keyword.
2711
2712 2013-12-11 Juri Linkov <juri@jurta.org>
2713
2714 * delsel.el (delete-active-region): Let-bind `this-command'
2715 to prevent `kill-region' from changing its original value.
2716 (delete-selection-helper): Handle `overwrite-mode' for the type
2717 `kill' exactly the same way as for the type `t'.
2718 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2719 Support more commands. (Bug#13312)
2720
2721 2013-12-11 Juri Linkov <juri@jurta.org>
2722
2723 * bindings.el: Map kp keys to non-kp keys systematically
2724 with basic modifiers control, meta and shift. (Bug#14397)
2725
2726 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2727
2728 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2729 "Close browser" menu items. Fix wrong function of "List
2730 bookmarks".
2731
2732 2013-12-11 Juri Linkov <juri@jurta.org>
2733
2734 * misearch.el (multi-isearch-buffers): Set the value of
2735 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2736 arg of isearch-forward to t.
2737 (multi-isearch-buffers-regexp): Set the value of
2738 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2739 arg of isearch-forward-regexp to t.
2740 (multi-isearch-files): Set the value of
2741 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2742 arg of isearch-forward to t.
2743 (multi-isearch-files-regexp): Set the value of
2744 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2745 arg of isearch-forward-regexp to t. (Bug#16035)
2746
2747 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2748 arg of isearch-forward to t.
2749 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2750 arg of isearch-forward-regexp to t.
2751 (dired-isearch-filter-filenames): Remove unnecessary check for
2752 `dired-isearch-filenames'.
2753
2754 * comint.el (comint-history-isearch-backward):
2755 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2756 (comint-history-isearch-backward-regexp):
2757 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2758
2759 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2760
2761 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2762 unmsys--file-name. (Bug#16099)
2763
2764 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2765
2766 * emacs-lisp/package.el (package-keyword-button-action):
2767 Remove finder.el require dependency.
2768
2769 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2770
2771 * emacs-lisp/package.el: Require finder.el.
2772 (describe-package-1): Add keyword buttons.
2773 (package-make-button): New convenience function.
2774 (package-keyword-button-action): Keyword button action using
2775 `finder-list-matches'.
2776
2777 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2778
2779 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2780 last commit.
2781
2782 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2783
2784 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2785 symlinked files.
2786
2787 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2788
2789 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2790 after the end of a percent literal.
2791
2792 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2793
2794 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2795 Handle caret-delimited strings (Bug#16079).
2796
2797 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2798
2799 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2800 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2801 `ruby-parse-partial' (Bug#16078).
2802
2803 2013-12-09 Leo Liu <sdl.web@gmail.com>
2804
2805 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2806
2807 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2808
2809 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2810 (js-switch-indent-offset): New option.
2811 (js--proper-indentation): Use it. And handle the case when
2812 "default" is actually a key in an object literal.
2813 (js--same-line): New function.
2814 (js--multi-line-declaration-indentation): Use it.
2815 (js--indent-in-array-comp, js--array-comp-indentation):
2816 New functions.
2817 (js--proper-indentation): Use them, to handle array comprehension
2818 continuations.
2819
2820 2013-12-08 Leo Liu <sdl.web@gmail.com>
2821
2822 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2823 (flymake-make-overlay): Remove arg MOUSE-FACE.
2824 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2825
2826 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2829 New function.
2830 (redisplay-highlight-region-function): Use it.
2831
2832 * emulation/cua-base.el (cua--explicit-region-start)
2833 (cua--last-region-shifted): Remove.
2834 (cua--deactivate): Use deactivate-mark.
2835 (cua--pre-command-handler-1): Don't handle shift-selection.
2836 (cua--post-command-handler-1): Don't change transient-mark-mode.
2837 (cua--select-keymaps): Use region-active-p rather than
2838 cua--explicit-region-start or cua--last-region-shifted.
2839 (cua-mode): Enable shift-select-mode.
2840
2841 2013-12-08 Leo Liu <sdl.web@gmail.com>
2842
2843 * progmodes/flymake.el (flymake-popup-current-error-menu):
2844 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2845 (flymake-posn-at-point-as-event, flymake-popup-menu)
2846 (flymake-make-emacs-menu): Remove. (Bug#16077)
2847
2848 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * rect.el (rectangle-mark-mode): Activate mark even if
2851 transient-mark-mode is off (bug#16066).
2852 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2853 is > mark and at bolp.
2854
2855 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2856 (region-extract-function): Use it.
2857 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2858 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2859 Delete functions.
2860 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2861 kill-ring-save, kill-region, delete-char, delete-forward-char.
2862 Ignore self-insert-iso.
2863
2864 * emulation/cua-gmrk.el (cua--init-global-mark):
2865 Ignore `self-insert-iso'.
2866
2867 * emulation/cua-base.el (cua--prefix-copy-handler)
2868 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2869 checking cua--rectangle.
2870 (cua-delete-region): Use region-extract-function.
2871 (cua-replace-region): Delete function.
2872 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2873 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2874 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2875 (cua--init-keymaps): Don't remap delete-selection commands.
2876 (cua-mode): Use delete-selection-mode instead of rolling our own
2877 (bug#16085).
2878
2879 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2880 Obey region-extract-function.
2881
2882 Make registers and delete-selection-mode work on rectangles.
2883 * register.el (describe-register-1): Don't modify the register's value.
2884 (copy-to-register): Obey region-extract-function.
2885 * delsel.el (delete-active-region): Obey region-extract-function.
2886
2887 2013-12-08 Leo Liu <sdl.web@gmail.com>
2888
2889 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2890 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2891 (flymake-compilation-prevents-syntax-check)
2892 (flymake-start-syntax-check-on-newline)
2893 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2894 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2895 (flymake-xml-program, flymake-master-file-dirs)
2896 (flymake-master-file-count-limit)
2897 (flymake-allowed-file-name-masks): Relocate.
2898 (flymake-makehash, flymake-float-time)
2899 (flymake-replace-regexp-in-string, flymake-split-string)
2900 (flymake-get-temp-dir): Remove.
2901 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2902 (flymake-current-row, flymake-selected-frame)
2903 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2904 related functions. (Bug#16077)
2905
2906 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2907
2908 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2909
2910 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2911
2912 * help-fns.el (describe-function-1): Use new advice-* functions
2913 rather than old ad-* functions. Fix function type description and
2914 source links for advised functions and subrs.
2915
2916 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2917
2918 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2919
2920 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * progmodes/compile.el (compilation-start):
2923 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2924
2925 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2926 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2927
2928 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2929
2930 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2931 Touch up the last change.
2932
2933 2013-12-06 Leo Liu <sdl.web@gmail.com>
2934
2935 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2936 (inferior-octave-startup): Always use "octave> " for prompt.
2937 (octave-goto-function-definition)
2938 (octave-sync-function-file-names)
2939 (octave-find-definition-default-filename): Remove redundant backquotes.
2940
2941 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2942
2943 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2944 syntax for `?'.
2945 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2946 where appropriate already.
2947 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2948 end of method names (Bug#15874).
2949
2950 2013-12-06 Juri Linkov <juri@jurta.org>
2951
2952 * isearch.el (isearch--saved-overriding-local-map):
2953 New internal variable.
2954 (isearch-mode): Set it to the initial value of
2955 `overriding-terminal-local-map'.
2956 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2957 with `isearch--saved-overriding-local-map'. (Bug#16035)
2958
2959 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2960
2961 * progmodes/octave.el (inferior-octave-completion-table):
2962 Turn back into function, use `completion-table-with-cache'
2963 (Bug#11906). Update all references.
2964
2965 * minibuffer.el (completion-table-with-cache): New function.
2966
2967 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2968
2969 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2970
2971 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2972
2973 * net/eww.el (eww-current-source): New variable to store page
2974 source.
2975 (eww-display-html, eww-mode, eww-save-history)
2976 (eww-restore-history): Use it.
2977 (eww-view-source): New command to view page source.
2978 Opportunistically uses `html-mode' to highlight the buffer.
2979 (eww-mode-map): Install it.
2980
2981 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/dbus.el (dbus-unregister-service)
2984 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2985 Fix docstring.
2986 (dbus-unregister-service): Skip :serial entries in
2987 `dbus-registered-objects-table'.
2988 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2989
2990 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2991
2992 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2993 around keywords with extra `split-string' argument.
2994
2995 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2996
2997 * windmove.el (windmove-other-window-loc): Handle navigation
2998 between windows (excluding the minibuffer window - Bug#16017).
2999
3000 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3001
3002 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3003 in D-Bus type syntax.
3004 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3005 preserve unibyte strings. (Bug#16048)
3006
3007 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3010 Call force-mode-line-update is the proper buffer (bug#16042).
3011
3012 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3013
3014 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3015 `log-edit-remember-comment', make argument optional. Adjust all
3016 callers.
3017 (log-edit-mode): Add `log-edit-remember-comment' to
3018 `kill-buffer-hook' locally.
3019 (log-edit-kill-buffer): Don't remember comment explicitly since
3020 the buffer is killed anyway.
3021
3022 2013-12-04 Juri Linkov <juri@jurta.org>
3023
3024 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3025 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3026
3027 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3028
3029 * notifications.el (notifications-close-notification): Call the
3030 D-Bus method with ID being a `:uint32'. (Bug#16030)
3031
3032 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3033
3034 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3035
3036 2013-12-03 Juri Linkov <juri@jurta.org>
3037
3038 * progmodes/compile.el (compilation-start): Rename window alist
3039 entry `no-display-ok' to `allow-no-window'.
3040
3041 * simple.el (shell-command): Add window alist entry
3042 `allow-no-window' to `display-buffer'.
3043 (async-shell-command): Doc fix.
3044
3045 * window.el (display-buffer-no-window): New action function.
3046 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3047
3048 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3049
3050 * vc/log-edit.el (log-edit-set-header): Extract from
3051 `log-edit-toggle-header'.
3052 (log-edit-extract-headers): Separate the summary, when extracted
3053 from header, from the rest of the message with an empty line.
3054
3055 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3056 line, if present, to the Summary header.
3057
3058 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3061 in current-buffer (bug#16029).
3062
3063 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3064
3065 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3066 (debugger-mode-map): Bind it.
3067 (debugger--backtrace-base): New function.
3068 (debugger-eval-expression): Use it.
3069 (debugger-frame-number): Skip local vars when present.
3070 (debugger--locals-visible-p, debugger--insert-locals)
3071 (debugger--show-locals, debugger--hide-locals): New functions.
3072
3073 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3074
3075 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3076 "LC_ALL".
3077 (tramp-get-remote-locale): New defun.
3078 (tramp-open-connection-setup-interactive-shell): Use it.
3079
3080 2013-12-02 Leo Liu <sdl.web@gmail.com>
3081
3082 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3083
3084 * progmodes/sh-script.el (sh-shell-process):
3085 * progmodes/octave.el (inferior-octave-process-live-p):
3086 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3087 (gdb-inferior-io-sentinel):
3088 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3089
3090 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3091
3092 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3093 `save-selected-window' to `log-edit-hide-buf'. This makes
3094 `log-edit-show-files' idempotent.
3095 (log-edit-show-files): Mark the new window as dedicated.
3096
3097 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3098
3099 * vc/log-edit.el (log-edit-mode-map): Add binding for
3100 `log-edit-kill-biffer'.
3101 (log-edit-hide-buf): Add a FIXME comment.
3102 (log-edit-add-new-comment): New function, extracted from
3103 `log-edit-done'.
3104 (log-edit-done, log-edit-add-to-changelog): Use it.
3105 (log-edit-kill-buffer): New command.
3106
3107 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3108
3109 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3110 instead of killing the buffer.
3111
3112 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3115
3116 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3117
3118 * net/eww.el (eww-form-checkbox-selected-symbol)
3119 (eww-form-checkbox-symbol): New customizable variable.
3120 (eww-form-checkbox, eww-toggle-checkbox):
3121 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3122
3123 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3124 (shr--get-media-pref, shr--extract-best-source): New function.
3125 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3126 no :src tag was specified.
3127
3128 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3129 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3130 Use \\` to match beginning of string instead of ^.
3131 (eww-browse-with-external-browser): Provide optional URL parameter.
3132 (eww-render): Set `eww-current-title' back to "".
3133
3134 * net/shr.el (shr-tag-video): Display content for video if no
3135 poster is available.
3136 (shr-tag-audio): Add support for <audio> tag.
3137
3138 * net/eww.el (eww-text-input-types): New const.
3139 (eww-process-text-input): Treat input types in
3140 `eww-text-input-types' as text.
3141
3142 * net/shr.el (shr-tag-table): Fix comment typo.
3143
3144 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3145
3146 * net/eww.el (eww-follow-link): New command to avoid reloading
3147 pages when we follow #target links (bug#15243).
3148 (eww-quit): Special mode buffers shouldn't query before exiting.
3149
3150 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3151
3152 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3153 forms.
3154
3155 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3156
3157 * net/eww.el (eww-restore-history): Update the window title after
3158 moving in the history.
3159 (eww-current-dom): New variable used to save the current DOM.
3160
3161 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3162
3163 * vc/log-edit.el (log-edit-mode-map): Add binding for
3164 `log-edit-beginning-of-line'.
3165 (log-edit-setup-add-author): New user option.
3166 (log-edit-beginning-of-line): New command.
3167 (log-edit): Move major mode call above the contents setup so that
3168 the local variable values are already applied.
3169 (log-edit): Only insert "Author: " when
3170 `log-edit-setup-add-author' is non-nil.
3171 (log-edit): When SETUP is non-nil, position point after ": "
3172 instead of point-min.
3173
3174 2013-12-01 Glenn Morris <rgm@gnu.org>
3175
3176 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3177
3178 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3179
3180 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3181 redisplay to make sure the initial frame gets a chance to become
3182 visible. (Bug#16014)
3183
3184 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3185
3186 Support resizing frames and windows pixelwise.
3187 * cus-start.el (frame-resize-pixelwise)
3188 (window-resize-pixelwise): New entries.
3189 * emacs-lisp/debug.el (debug): Use window-total-height instead
3190 of window-total-size.
3191 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3192 * help.el (describe-bindings-internal): Call help-buffer
3193 (temp-buffer-max-width): New option.
3194 (resize-temp-buffer-window, help-window-setup)
3195 (with-help-window): Rewrite.
3196 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3197 dragging dividers.
3198 * window.el (frame-char-size, window-min-pixel-height)
3199 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3200 (window-min-pixel-width, window-safe-min-pixel-size)
3201 (window-combination-p, window-safe-min-size)
3202 (window-resizable-p, window--size-to-pixel)
3203 (window--pixel-to-size, window--resize-apply-p): New functions.
3204 (window-safe-min-height): Fix doc-string.
3205 (window-size, window-min-size, window--min-size-1)
3206 (window-sizable, window-sizable-p, window--min-delta-1)
3207 (window-min-delta, window--max-delta-1, window-max-delta)
3208 (window--resizable, window--resizable-p, window-resizable)
3209 (window-full-height-p, window-full-width-p, window-at-side-p)
3210 (window--in-direction-2, window-in-direction)
3211 (window--resize-reset-1, window--resize-mini-window)
3212 (window-resize, window-resize-no-error)
3213 (window--resize-child-windows-normal)
3214 (window--resize-child-windows, window--resize-siblings)
3215 (window--resize-this-window, window--resize-root-window)
3216 (window--resize-root-window-vertically)
3217 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3218 (maximize-window, minimize-window, delete-window)
3219 (quit-restore-window, window-split-min-size, split-window)
3220 (balance-windows-2, balance-windows)
3221 (balance-windows-area-adjust, balance-windows-area)
3222 (window--state-get-1, window-state-get, window--state-put-1)
3223 (window--state-put-2, window-state-put)
3224 (display-buffer-record-window, window--display-buffer):
3225 Make functions handle pixelwise sizing of windows.
3226 (display-buffer--action-function-custom-type)
3227 (display-buffer-fallback-action):
3228 Add display-buffer-in-previous-window.
3229 (display-buffer-use-some-window): Resize window to height it had
3230 before.
3231 (fit-window-to-buffer-horizontally): New option.
3232 (fit-frame-to-buffer): Describe new values.
3233 (fit-frame-to-buffer-bottom-margin): Replace with
3234 fit-frame-to-buffer-margins.
3235 (window--sanitize-margin): New function.
3236 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3237 using window-text-pixel-size.
3238
3239 2013-11-30 Glenn Morris <rgm@gnu.org>
3240
3241 * emacs-lisp/bytecomp.el (byte-compile-form):
3242 Make the `interactive-only' warning like the `obsolete' one.
3243 * comint.el (comint-run):
3244 * files.el (insert-file-literally, insert-file):
3245 * replace.el (replace-string, replace-regexp):
3246 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3247 (goto-line, insert-buffer, next-line, previous-line):
3248 Tweak `interactive-only' spec.
3249
3250 Stop keeping (most) generated cedet grammar files in the repository.
3251 * Makefile.in (semantic): New.
3252 (compile-main): Depend on semantic.
3253
3254 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3257 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3258
3259 * uniquify.el (uniquify-buffer-name-style): Change default.
3260
3261 * loadup.el: Preload "uniquify".
3262
3263 * time.el (display-time-update): Update all mode lines (bug#15999).
3264
3265 * electric.el (electric-indent-mode): Enable by default.
3266 * loadup.el: Preload "electric".
3267
3268 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3269
3270 * emacs-lisp/helpers.el (string-empty-p): New function.
3271 (string-blank-p): New function.
3272
3273 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3274
3275 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3276 (Bug#14029).
3277
3278 2013-11-29 Andreas Politz <politza@fh-trier.de>
3279 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3280 allow non-lambda lists as functions.
3281 (imenu--in-alist): Don't recurse into non-subalists.
3282 (imenu): Don't pass function itself as an argument (Bug#14029).
3283
3284 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * progmodes/python.el (python-mode-map): Remove binding for ":".
3287 (python-indent-electric-colon): Remove command.
3288 (python-indent-post-self-insert-function): Integrate the previous code
3289 of python-indent-electric-colon. Make it conditional on
3290 electric-indent-mode.
3291 (python-mode): Add ?: to electric-indent-chars.
3292 Move python-indent-post-self-insert-function to the end of
3293 post-self-insert-hook.
3294
3295 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * doc-view.el (doc-view-goto-page): Update mode-line.
3298
3299 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3300
3301 2013-11-27 Glenn Morris <rgm@gnu.org>
3302
3303 * international/charprop.el, international/uni-bidi.el:
3304 * international/uni-category.el, international/uni-combining.el:
3305 * international/uni-comment.el, international/uni-decimal.el:
3306 * international/uni-decomposition.el, international/uni-digit.el:
3307 * international/uni-lowercase.el, international/uni-mirrored.el:
3308 * international/uni-name.el, international/uni-numeric.el:
3309 * international/uni-old-name.el, international/uni-titlecase.el:
3310 * international/uni-uppercase.el:
3311 Remove generated files from VCS repository.
3312
3313 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3314
3315 * filenotify.el (file-notify-add-watch): Don't special-case
3316 w32notify when computing the directory to watch.
3317
3318 2013-11-27 Glenn Morris <rgm@gnu.org>
3319
3320 Make bootstrap without generated uni-*.el files possible again.
3321 * loadup.el: Update command-line-args checking for unidata-gen.
3322 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3323 * composite.el, international/characters.el:
3324 Handle unicode tables being undefined.
3325
3326 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3327 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3328 (compile-main): Depend on leim rule.
3329 (leim): New rule.
3330 * loadup.el: Move leim-list.el to leim/ subdirectory.
3331 * startup.el (normal-top-level): No more leim directory.
3332 * international/ja-dic-cnv.el (skkdic-convert):
3333 Disable version-control and autoloads in output files.
3334 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3335 Disable version-control and autoloads in output files.
3336 * leim/quail: Move here from ../leim.
3337 * leim/quail/hangul.el (hangul-input-method-activate):
3338 Add autoload cookie.
3339 (generated-autoload-load-name): Set file-local value.
3340 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3341 (generated-autoload-load-name): Set file-local value.
3342
3343 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3344
3345 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3346 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3347 (eww-quit): Ask confirmation before quitting eww.
3348
3349 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3350
3351 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3352 reading output from Diff on MS-Windows and MS-DOS.
3353
3354 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3355
3356 * emacs-lisp/helpers.el (string-reverse): New function.
3357
3358 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3359
3360 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3361 names on MS Windows, like "/[::1]:".
3362
3363 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3364 SWITCHES.
3365
3366 2013-11-26 Glenn Morris <rgm@gnu.org>
3367
3368 * progmodes/python.el (python-indent-guess-indent-offset):
3369 Avoid corner-case error. (Bug#15975)
3370
3371 Preload leim-list.el. (Bug#4789)
3372 * loadup.el: Load leim-list.el when found.
3373 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3374
3375 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3376
3377 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3378
3379 * emacs-lisp/helpers.el (string-join): New function.
3380
3381 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3382
3383 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3384 Mark as obsolete and replace it with a symbol property.
3385 (byte-compile-form): Use new 'interactive-only property.
3386 * comint.el, files.el, replace.el, simple.el:
3387 Apply new 'interactive-only properly.
3388
3389 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3390
3391 * window.el (display-buffer-at-bottom): Make sure that
3392 split-window-sensibly creates the new window on bottom
3393 (Bug#15961).
3394
3395 2013-11-23 David Kastrup <dak@gnu.org>
3396
3397 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3398 on the conflict markers when available.
3399 (smerge--get-marker): New function.
3400 (smerge-end-re, smerge-base-re): Add subgroup.
3401
3402 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * frame.el (handle-focus-in, handle-focus-out): Add missing
3405 interactive spec.
3406
3407 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3408
3409 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3410 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3411
3412 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3415 (gomoku--last-pos): New var.
3416 (gomoku--intangible-chars): New const.
3417 (gomoku--intangible): New function.
3418 (gomoku-mode): Use it. Derive from special-mode.
3419 (gomoku-move-up): Adjust line count.
3420 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3421 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3422 Simplify accordingly.
3423
3424 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3425 Remove blink-cursor code.
3426 (blink-cursor-timer-function, blink-cursor-suspend):
3427 Don't special-case GUIs.
3428 (blink-cursor-mode): Use focus-in/out-hook.
3429
3430 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3431
3432 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3433 work when annotation is invisible (Bug#13886).
3434
3435 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3436
3437 * json.el (json-alist-p): Only return non-nil if the alist has
3438 simple keys (Bug#13518).
3439
3440 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3441
3442 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3443 when control-statement is the first statement in a buffer (Bug#15956).
3444
3445 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3446
3447 * imenu.el (imenu-generic-skip-comments-and-strings):
3448 New option (Bug#15560).
3449 (imenu--generic-function): Use it.
3450
3451 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3452
3453 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3454 (Bug#13898)
3455
3456 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3457
3458 * emacs-lisp/helpers.el: Add some string helpers.
3459 (string-trim-left): Removes leading whitespace.
3460 (string-trim-right): Removes trailing whitespace.
3461 (string-trim): Removes leading and trailing whitespace.
3462
3463 * subr.el (string-suffix-p): New function.
3464
3465 2013-11-23 Glenn Morris <rgm@gnu.org>
3466
3467 * progmodes/python.el (python-shell-send-file):
3468 Add option to delete file when done. (Bug#15647)
3469 (python-shell-send-string, python-shell-send-region): Use it.
3470
3471 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3472
3473 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3474 to set buffer-read-only to t, never to nil. (Bug#15938)
3475
3476 * textmodes/tex-mode.el (latex-noindent-environments):
3477 Add safe-local-variable property. (Bug#15936)
3478
3479 2013-11-23 Glenn Morris <rgm@gnu.org>
3480
3481 * textmodes/enriched.el (enriched-mode): Doc fix.
3482 * emacs-lisp/authors.el (authors-renamed-files-alist):
3483 Add enriched.doc -> enriched.txt.
3484
3485 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3486
3487 2013-11-22 Leo Liu <sdl.web@gmail.com>
3488
3489 * progmodes/octave.el (inferior-octave-startup): Spit out error
3490 message.
3491
3492 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3493
3494 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3495 Improve docstring.
3496 Add :version.
3497 (ruby-encoding-magic-comment-style): Add :version.
3498
3499 2013-11-22 Leo Liu <sdl.web@gmail.com>
3500
3501 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3502 (Bug#15076)
3503 (octave-help-mode): Adapt to change to help-mode-finish to use
3504 derived-mode-p on 2013-09-17.
3505 (inferior-octave-prompt): Also match octave-gui.
3506 (octave-kill-process): Don't ask twice. (Bug#10564)
3507
3508 2013-11-22 Leo Liu <sdl.web@gmail.com>
3509
3510 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3511 (inferior-octave-startup, inferior-octave-check-process)
3512 (inferior-octave-track-window-width-change)
3513 (octave-completion-at-point, octave-eldoc-function): Use it.
3514 (octave-kill-process): Provide confirmation. (Bug#10564)
3515
3516 2013-11-21 Leo Liu <sdl.web@gmail.com>
3517
3518 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3519 Fix obsolete variable comment-use-global-state.
3520
3521 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3522
3523 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3524 Add `octave-source-file'.
3525 (octave-source-file): New function. (Bug#15935)
3526
3527 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3528
3529 * net/eww.el (eww-local-regex): New variable.
3530 (eww): Use it to detect localhost and similar.
3531
3532 2013-11-21 Leo Liu <sdl.web@gmail.com>
3533
3534 Add completion for command `ag'.
3535 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3536 (pcomplete/ag): New function.
3537 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3538
3539 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3542 (bug#14646).
3543 (make-obsolete): Remove interactive spec.
3544
3545 2013-11-21 Glenn Morris <rgm@gnu.org>
3546
3547 * startup.el (command-line-1): Use path-separator with -L.
3548
3549 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3550
3551 * emacs-lisp/package.el (describe-package-1): Add package archive
3552 to shown fields.
3553
3554 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3555
3556 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3557 Change default to "# encoding: %s" to differentiate it from the
3558 default Ruby encoding comment template.
3559
3560 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3561
3562 * ses.el (ses-mode): Doc fix. (Bug#14748)
3563
3564 2013-11-20 Leo Liu <sdl.web@gmail.com>
3565
3566 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3567
3568 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3569
3570 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3571 when rebase or bisect are in progress.
3572
3573 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3574
3575 * filenotify.el (file-notify-add-watch): Doc fix.
3576
3577 2013-11-19 Leo Liu <sdl.web@gmail.com>
3578
3579 * obsolete/rcompile.el: Mark obsolete.
3580
3581 * progmodes/compile.el (compilation-start)
3582 (compilation-goto-locus, compilation-find-file):
3583 Pass no-display-ok and handle nil value from display-buffer.
3584 (Bug#13594)
3585
3586 * window.el (display-buffer-alist, display-buffer): Document the
3587 new parameter no-display-ok. Return either a window or nil
3588 but never a non-window value.
3589
3590 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * electric.el (electric-indent-mode-map): Remove.
3593 (electric-indent-mode): Change the global-map instead (bug#15915).
3594
3595 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3596 Use add-function.
3597
3598 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * emacs-lisp/nadvice.el (remove-function): Align with
3601 add-function's behavior.
3602
3603 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3604 (gdb--string-regexp): New constant.
3605 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3606 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3607 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3608 submatch 1.
3609 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3610 Adjust use accordingly.
3611 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3612
3613 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3614
3615 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3616 interpolation curlies (Bug#15914).
3617
3618 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3619
3620 * calc/calc.el (calc-context-sensitive-enter): New variable.
3621 (calc-enter): Use `calc-context-sensitive-enter'.
3622
3623 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3624
3625 * progmodes/cfengine.el: Version bump.
3626 (cfengine-cf-promises): New defcustom to locate cf-promises.
3627 (cfengine3-vartypes): Add new "data" type.
3628 (cfengine3--current-word): New function to get current name-like
3629 word or its bounds.
3630 (cfengine3--current-function): New function to look up a CFEngine
3631 function's definition.
3632 (cfengine3-format-function-docstring): New function.
3633 (cfengine3-make-syntax-cache): New function.
3634 (cfengine3-documentation-function): New function: ElDoc glue.
3635 (cfengine3-completion-function): New function: completion glue.
3636 (cfengine3-mode): Set `compile-command',
3637 `eldoc-documentation-function', and add to
3638 `completion-at-point-functions'.
3639
3640 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3641
3642 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3643 `tramp-current-connection'.
3644
3645 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3646
3647 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3648 nil/self/true/false with "end of symbol".
3649
3650 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3651
3652 * subr.el (version-regexp-alist): Fix a typo.
3653
3654 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3657 "en_US.utf8" and "LC_CTYPE" to "".
3658 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3659 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3660
3661 2013-11-15 Leo Liu <sdl.web@gmail.com>
3662
3663 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3664
3665 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * progmodes/gud.el (ctl-x-map):
3668 Remove C-x SPC binding. (Bug#12342)
3669 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3670
3671 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3672
3673 * subr.el (version-regexp-alist):
3674 Recognize hg, svn and darcs versions as snapshot versions.
3675
3676 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3677 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3678 (ruby--encoding-comment-required-p): Extract from
3679 `ruby-mode-set-encoding'.
3680 (ruby-mode-set-encoding): Add the ability to always insert an
3681 utf-8 encoding comment. Fix and simplify coding comment update
3682 logic.
3683
3684 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * net/tramp-gvfs.el (top): Run init code only when
3687 `tramp-gvfs-enabled' is not nil.
3688 (tramp-gvfs-enabled): Check also :system bus.
3689
3690 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 Sync with upstream verilog-mode revision 78e66ba.
3693 * progmodes/verilog-mode.el (verilog-end-of-defun)
3694 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3695 (verilog-get-end-of-defun): Remove unused argument.
3696 (verilog-comment-depth): Remove unused local `e'.
3697 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3698 Don't pass arg to verilog-get-end-of-defun.
3699
3700 2013-11-14 Glenn Morris <rgm@gnu.org>
3701
3702 * obsolete/assoc.el (aget): Prefix dynamic variable.
3703
3704 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3705
3706 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * widget.el, hfy-cmap.el: Remove bogus package version number.
3709
3710 2013-11-13 Glenn Morris <rgm@gnu.org>
3711
3712 * replace.el (replace-eval-replacement):
3713 Try to give more helpful error message. (Bug#15836)
3714
3715 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3716 (archive-7z-update): Avoid custom type mismatches.
3717
3718 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3719
3720 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3721
3722 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3723 address can be empty.
3724
3725 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3726 Accept nil SWITCHES.
3727 (tramp-gvfs-handle-write-region): Implement APPEND.
3728
3729 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3730
3731 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3732 binary "|" operator and closing block args delimiter.
3733 Remove FIXME comment referring to Ruby 1.8-only syntax.
3734 (ruby-smie--implicit-semi-p): Not after "|" operator.
3735 (ruby-smie--closing-pipe-p): New function.
3736 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3737 (ruby-smie-rules): Indent after "|".
3738
3739 2013-11-12 Glenn Morris <rgm@gnu.org>
3740
3741 * ps-print.el (ps-face-attribute-list):
3742 Handle anonymous faces. (Bug#15827)
3743
3744 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3745
3746 * window.el (display-buffer-other-frame): Fix doc-string.
3747 (Bug#15868)
3748
3749 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3752
3753 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3754
3755 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3756 (tramp-sh-handle-file-local-copy): Don't write a message when
3757 saving temporary files.
3758
3759 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3760 both directories are remote.
3761 (tramp-smb-handle-directory-files): Do not return double entries.
3762 Do not expand full file names.
3763 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3764 (tramp-smb-handle-write-region): Implement APPEND.
3765 (tramp-smb-get-stat-capability): Fix a stupid bug.
3766
3767 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3770
3771 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3772
3773 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3774 throwing error over malformed let/let* (bug#15814).
3775
3776 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * iswitchb.el (iswitchb-mode): Mark obsolete.
3779
3780 2013-11-11 Glenn Morris <rgm@gnu.org>
3781
3782 * international/uni-bidi.el, international/uni-category.el:
3783 * international/uni-name.el, international/uni-numeric.el:
3784 Regenerate for Unicode 6.3.0.
3785
3786 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3787
3788 * net/tramp.el (tramp-methods):
3789 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3790 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3791
3792 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3793
3794 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3795 Force highlighting text after Summary keyword in doc face for rpm.
3796
3797 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3798
3799 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3800 available and the word has no wildcards, append one to the grep pattern.
3801 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3802 (ispell-complete-word): Call `ispell-lookup-words' with the value
3803 independent of `ispell-look-p'.
3804
3805 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3806
3807 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3808 Not after "||".
3809 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3810 their parent.
3811
3812 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3815 (ruby-font-lock-keywords): Use backquote.
3816
3817 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3818
3819 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3820 (ruby-smie--backward-token): Only consider full-string matches.
3821
3822 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3823
3824 * faces.el (describe-face): Add distant-foreground.
3825
3826 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3827
3828 * progmodes/ruby-mode.el: Improve encoding comment handling.
3829 (ruby-encoding-magic-comment-style): New option.
3830 (ruby-custom-encoding-magic-comment-template): New option.
3831 (ruby--insert-coding-comment, ruby--detect-encoding):
3832 New functions extracted from `ruby-mode-set-encoding'.
3833 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3834 to control the style of the auto-inserted encoding comment.
3835
3836 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3837
3838 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3839 Use `smie-backward-sexp' with token argument.
3840
3841 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3842
3843 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3844 Remove instrumentation code.
3845
3846 2013-11-08 Glenn Morris <rgm@gnu.org>
3847
3848 * progmodes/autoconf.el (autoconf-mode):
3849 Tweak comment-start-skip. (Bug#15822)
3850
3851 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3854 at bobp (bug#15826).
3855 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3856
3857 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3858
3859 * man.el (Man-start-calling): New macro, extracted from
3860 Man-getpage-in-background.
3861 (Man-getpage-in-background): Use it.
3862 (Man-update-manpage): New command.
3863 (Man-mode-map): Bind it.
3864
3865 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3868 of "and", "or", "&&" and "||".
3869 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3870 argument. Prohibit opening curly brace because it could only be a
3871 block opener in that position.
3872 (ruby-smie--forward-token, ruby-smie--backward-token):
3873 Separate "|" from "&" or "*" going after it. That can happen in block
3874 arguments.
3875 (ruby-smie--indent-to-stmt): New function, seeks the end of
3876 previous statement or beginning of buffer.
3877 (ruby-smie-rules): Use it.
3878 (ruby-smie-rules): Check if there's a ":" before a curly block
3879 opener candidate; if there is, it's a hash.
3880
3881 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3884 (cl--block-wrapper): Fix last accidental change.
3885
3886 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3887
3888 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3889 Instrument, in order to hunt failure on hydra.
3890
3891 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3892
3893 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3894 malformed bindings form (bug#15814).
3895
3896 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3897
3898 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3899 "." compared to " @ ". This incidentally fixes some indentation
3900 examples with "do".
3901 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3902 (ruby-smie-grammar): New tokens: "and" and "or".
3903 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3904 Exclude "and" and "or". Remove "do" in order to work around token
3905 priorities.
3906 (ruby-smie-rules): Add all infix tokens. Handle the case of
3907 beginning-of-buffer.
3908
3909 2013-11-06 Glenn Morris <rgm@gnu.org>
3910
3911 * Makefile.in (setwins_almost, setwins_for_subdirs):
3912 Avoid accidental matches.
3913
3914 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * menu-bar.el (popup-menu): Use key-binding.
3917
3918 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3919
3920 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3921 menus, support also the menus produced by minor modes.
3922 (Bug#15817)
3923
3924 2013-11-06 Leo Liu <sdl.web@gmail.com>
3925
3926 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3927 DISTANCE to bound the search. All uses changed. (Bug#15808)
3928
3929 2013-11-06 Glenn Morris <rgm@gnu.org>
3930
3931 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3932 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3933 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3934
3935 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * electric.el (electric-indent-just-newline): New command.
3938 (electric-indent-mode-map): New keymap.
3939 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3940 Re-add :group which weren't redundant.
3941
3942 * electric.el (electric-indent-local-mode): New minor mode.
3943 (electric-indent-functions-without-reindent): New var.
3944 (electric-indent-post-self-insert-function): Use it.
3945 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3946
3947 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3948
3949 * international/quail.el (quail-help): Be more explicit about the
3950 meaning of the labels shown on the keys. (Bug#15800)
3951
3952 * startup.el (normal-top-level): Load the subdirs.el files before
3953 setting the locale environment. (Bug#15805)
3954
3955 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3958 via arguments so as to get the right ones (bug#15418).
3959
3960 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3961
3962 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3963
3964 Fix problems found while writing a test suite.
3965
3966 * net/tramp-compat.el (tramp-compat-load): New defun.
3967 * net/tramp.el (tramp-handle-load): Use it.
3968
3969 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3970 "(numberp ok-if-already-exists)" correctly.
3971
3972 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3973
3974 * international/characters.el (glyphless-char-display-control):
3975 Add usage note.
3976
3977 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3978
3979 * progmodes/python.el (python-mode):
3980 * progmodes/scheme.el (scheme-mode):
3981 * progmodes/prolog.el (prolog-mode):
3982 * progmodes/ruby-mode.el (ruby-mode):
3983 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3984 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3985
3986 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * rect.el (rectangle--highlight-for-redisplay):
3989 * emacs-lisp/smie.el (smie--next-indent-change):
3990 Use buffer-chars-modified-tick.
3991
3992 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3993
3994 * electric.el (electric-indent-post-self-insert-function):
3995 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3996
3997 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3998
3999 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4000
4001 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4002
4003 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4004 (bug#15786).
4005
4006 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4009
4010 * progmodes/python.el: Fix up last change.
4011 (python-shell--save-temp-file): New function.
4012 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4013 `string' comes from the current buffer.
4014 (python-shell-send-string-no-output): Remove `msg' arg.
4015 (python--use-fake-loc): New var.
4016 (python-shell-buffer-substring): Obey it. Try to compensate for the
4017 extra coding line added by python-shell--save-temp-file.
4018 (python-shell-send-region): Use python-shell--save-temp-file and
4019 python-shell-send-file directly. Add `nomain' argument.
4020 (python-shell-send-buffer): Use python-shell-send-region.
4021 (python-electric-pair-string-delimiter): New function.
4022 (python-mode): Use it.
4023
4024 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4025
4026 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4027 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4028 environment and decoding all of the default-directory's to here
4029 from command-line.
4030 (command-line): Decode also argv[0].
4031
4032 * loadup.el: Error out if default-directory is a multibyte string
4033 when we are dumping.
4034
4035 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4036
4037 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4038
4039 * emacs-lisp/package.el (package-menu-mode)
4040 (package-menu--print-info, package-menu--archive-predicate):
4041 Add Archive column to package list.
4042
4043 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4044
4045 Fix problems found while writing a test suite.
4046
4047 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4048 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4049 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4050 to nil when running original file name handler. Otherwise,
4051 there are problems with constructs like "$$FOO".
4052
4053 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4054 for `localname'.
4055
4056 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4057
4058 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4059
4060 * subr.el (version<, version<=, version=):
4061 Update docstrings with information for snapshot versions.
4062
4063 * helpers.el: New library for misc helper functions.
4064 (hash-table-keys): New function returning a list of hash keys.
4065 (hash-table-values): New function returning a list of hash values.
4066
4067 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4068
4069 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4070 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4071
4072 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4073
4074 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4075 checking whether point is after a 1-letter word.
4076
4077 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4078
4079 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4080 Don't infloop when expanding region over `multiline' syntax-type that
4081 begins a line (bug#15778).
4082
4083 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4086 Make it into a proper minor mode.
4087 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4088 (rectangle-mark-mode-map): New keymap.
4089 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4090
4091 2013-11-04 Glenn Morris <rgm@gnu.org>
4092
4093 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4094
4095 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4098 (ruby-smie-rules): Use smie-rule-parent instead.
4099
4100 * emacs-lisp/smie.el (smie-rule-parent): Always call
4101 smie-indent-virtual rather than only for hanging tokens.
4102 (smie--next-indent-change): New helper command.
4103
4104 2013-11-03 Glenn Morris <rgm@gnu.org>
4105
4106 * Makefile.in (abs_srcdir): Remove.
4107 (emacs): Unset EMACSLOADPATH.
4108
4109 2013-11-02 Glenn Morris <rgm@gnu.org>
4110
4111 * Makefile.in (EMACS): Use a relative filename.
4112 (abs_top_builddir): Remove.
4113 (custom-deps, finder-data, autoloads): Use --chdir.
4114
4115 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4116
4117 Use relative filenames in TAGS files.
4118 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4119 (lisptagsfiles4, TAGS): Use relative file names.
4120 (TAGS-LISP): Remove.
4121 (maintainer-clean): No more TAGS-LISP file.
4122
4123 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4124 (lisptagsfiles4): Use absolute filenames again.
4125 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4126 Remove all *loaddefs files, not just the first. Remove esh-groups.
4127 (maintainer-clean): Delete TAGS, TAGS-LISP.
4128
4129 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4130
4131 * emacs-lisp/package.el (package-version-join):
4132 Recognize snapshot versions.
4133
4134 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4135
4136 * subr.el (version-regexp-alist): Add support for snapshot versions.
4137
4138 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4139
4140 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4141 New function, replacement for `smie-rule-parent' for when we want to
4142 skip over our direct parent if it's an assignment token..
4143 (ruby-smie-rules): Use it.
4144
4145 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4146
4147 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4148 unconditionally. Remove now unnecessary forward declarations.
4149 Remove XEmacs-specific setup.
4150 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4151 (ruby-font-lock-syntactic-keywords)
4152 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4153 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4154 (ruby-here-doc-end-syntax): Remove.
4155 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4156 defined as function.
4157
4158 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4159
4160 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4161
4162 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4163
4164 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4165 table and abbrev table, `define-derived-mode' does that for us
4166 anyway.
4167
4168 2013-11-01 Glenn Morris <rgm@gnu.org>
4169
4170 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4171 files is atomic for some time, so no parallel compilation issues).
4172
4173 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4174
4175 * faces.el (face-x-resources): Add :distant-foreground.
4176 (region): Use :distant-foreground for gtk and ns.
4177
4178 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4179
4180 Allow multiple bibliographies when BibLaTeX is used rather than
4181 BibTeX.
4182 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4183 (reftex-locate-bibliography-files): Us it.
4184
4185 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4186
4187 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4188 allow comments in pbm files.
4189
4190 * term/w32-win.el (dynamic-library-alist): Support newer versions
4191 of libjpeg starting with v7: look only for the DLL from the
4192 version against which Emacs was built.
4193 Support versions of libpng beyond 1.4.x.
4194 Support libtiff v4.x.
4195
4196 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4197
4198 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4199 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4200 Add property :safe.
4201 (ruby-deep-arglist): Add property :type.
4202
4203 2013-10-31 Glenn Morris <rgm@gnu.org>
4204
4205 * Makefile.in (custom-deps, finder-data): No need to setq the target
4206 variables, we are in the right directory and the defaults work fine.
4207
4208 2013-10-30 Glenn Morris <rgm@gnu.org>
4209
4210 * Makefile.in (autoloads): Do not use abs_lisp.
4211
4212 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4213 `newline' does not respect `standard-output', so use `princ'.
4214
4215 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4216
4217 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4218 * buff-menu.el (Buffer-menu--unmark): New function.
4219 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4220
4221 2013-10-30 Glenn Morris <rgm@gnu.org>
4222
4223 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4224
4225 * emacs-lisp/package.el (lm-homepage): Declare.
4226
4227 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4228 Fix doc typos.
4229
4230 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4231
4232 * Makefile.in (finder-data, autoloads, update-subdirs)
4233 (compile-main, compile-clean, compile-always, bootstrap-clean):
4234 Check return value of cd.
4235 (compile-calc): Remove.
4236
4237 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4240
4241 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4242 (byte-compile-and-folded): New function.
4243 (=, <, >, <=, >=): Use it.
4244
4245 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4246 (path-separator, null-device, buffer-file-coding-system)
4247 (lpr-headers-switches): Check system-type before modifying them.
4248 (find-buffer-file-type-coding-system): Mark obsolete.
4249 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4250 find-file-not-found-set-buffer-file-coding-system.
4251 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4252 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4253 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4254 (w32-direct-print-region-helper, w32-direct-print-region-function)
4255 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4256 * startup.el (normal-top-level-add-subdirs-to-load-path):
4257 * ps-print.el (ps-print-region-function):
4258 * lpr.el (print-region-function): Use new name.
4259
4260 * subr.el (custom-declare-variable-early): Remove function.
4261 (custom-declare-variable-list): Remove var.
4262 (error, user-error): Remove `while' loop.
4263 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4264 (user-emacs-directory-warning, locate-user-emacs-file):
4265 Move to files.el.
4266 * simple.el (read-quoted-char-radix, read-quoted-char):
4267 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4268 Move from subr.el.
4269 * custom.el (custom-declare-variable-list): Don't process
4270 custom-declare-variable-list.
4271
4272 * progmodes/python.el (python-shell-get-buffer): New function.
4273 (python-shell-get-process): Use it.
4274 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4275 Python which encoding was used. Don't split-string since we only care
4276 about the first line. Return the temp-file, if applicable.
4277 (python-shell-send-region): Tell compile.el how to turn locations in
4278 the temp-file into locations in the source buffer.
4279
4280 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * subr.el (undefined): Add missing behavior from the C code for
4283 unbound keys.
4284
4285 * rect.el: Use lexical-binding. Add new rectangular region support.
4286 (rectangle-mark): New command.
4287 (rectangle--region): New var.
4288 (deactivate-mark-hook): Reset rectangle--region.
4289 (rectangle--extract-region, rectangle--insert-for-yank)
4290 (rectangle--highlight-for-redisplay)
4291 (rectangle--unhighlight-for-redisplay): New functions.
4292 (region-extract-function, redisplay-unhighlight-region-function)
4293 (redisplay-highlight-region-function): Use them to handle
4294 rectangular region.
4295 * simple.el (region-extract-function): New var.
4296 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4297 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4298 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4299 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4300 (redisplay-unhighlight-region-function)
4301 (redisplay-highlight-region-function): New vars.
4302 (redisplay--update-region-highlight): New function.
4303 (pre-redisplay-function): Use it.
4304 (exchange-point-and-mark): Don't deactivate the mark before
4305 reactivate-it anyway.
4306 * comint.el (comint-kill-region): Remove yank-handler argument.
4307 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4308 (delete-char): Remove property, since it's now part of their
4309 default behavior.
4310 (self-insert-iso): Remove property since this command doesn't exist.
4311
4312 * emacs-lisp/package.el (package--download-one-archive)
4313 (describe-package-1): Don't query the user about final newline.
4314
4315 2013-10-29 Daniel Colascione <dancol@dancol.org>
4316
4317 * net/tramp.el (tramp-methods): Document new functionality.
4318 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4319 tramp-hostname-checker if method provides one instead of scanning
4320 argument list for "%h" to decide hostname acceptability.
4321
4322 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4323
4324 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4325 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4326 Handle COPY-CONTENTS. (Bug#15737)
4327
4328 2013-10-28 Daiki Ueno <ueno@gnu.org>
4329
4330 * epa-file.el
4331 (epa-file-cache-passphrase-for-symmetric-encryption):
4332 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4333
4334 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4335
4336 * image.el (defimage):
4337 (image-load-path): Doc fixes.
4338
4339 2013-10-27 Alan Mackenzie <acm@muc.de>
4340
4341 Indent statements in macros following "##" correctly.
4342 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4343 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4344
4345 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4346
4347 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4348
4349 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4350
4351 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4352 after `=' is probably a new expression.
4353
4354 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4355
4356 * man.el (man-imenu-title): New option.
4357 (Man-mode-map): Add menu. (Bug#15722)
4358 (Man-mode): Add imenu to menu.
4359
4360 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4361
4362 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4363 specific in what the first arg can be: a non-keyword word,
4364 string/regexp/percent literal opener, opening paren, or unary
4365 operator followed directly by word.
4366
4367 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4370 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4371 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4372 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4373 Remove vars, they do not apply any more.
4374 (prolog-mode-abbrev-table): Remove redundant declaration.
4375 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4376 (prolog-use-smie): Remove.
4377 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4378 supported by prolog-electric-if-then-else-flag.
4379 (prolog-mode-variables, prolog-menu): Use setq-local.
4380 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4381 Remove binding to `Backspace' since this key doesn't exist anyway.
4382 Remove bindings for electric self-inserting keys.
4383 (prog-mode): Assume it's defined.
4384 (prolog-post-self-insert): New function.
4385 (prolog-mode): Use it.
4386 (prolog-indent-line, prolog-indent-level)
4387 (prolog-find-indent-of-matching-paren)
4388 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4389 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4390 (prolog-goto-next-paren, prolog-in-string-or-comment)
4391 (prolog-tokenize, prolog-inside-mline-comment)
4392 (prolog-find-start-of-mline-comment): Remove functions.
4393 (prolog-find-unmatched-paren, prolog-clause-end)
4394 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4395 (prolog-electric--if-then-else): Rename from
4396 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4397 (prolog-tokenize-searchkey): Remove const.
4398 (prolog-clause-info): Use forward-sexp.
4399 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4400 (prolog-electric-if-then-else): Remove commands.
4401 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4402 for use in post-self-insert-hook.
4403 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4404 for use in post-self-insert-hook.
4405 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4406 for use in post-self-insert-hook.
4407 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4408 adapt it for use in post-self-insert-hook.
4409
4410 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4411
4412 * emacs-lisp/ert.el (ert-run-tests-interactively):
4413 Use `completing-read'. (Bug#9756)
4414
4415 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4416
4417 * simple.el (line-move): Call line-move-1 instead of
4418 line-move-visual when the current window hscroll is zero, but
4419 temporary-goal-column indicates we will need to hscroll as result
4420 of the movement. (Bug#15712)
4421
4422 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4423
4424 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4425 capitalization. Use :visible instead of :active.
4426 Fix `ruby-indent-exp' reference. Add menu items for the generic
4427 commands that are used with SMIE.
4428 (ruby-do-end-to-brace): Insert space after `{'.
4429
4430 2013-10-25 John Anthony <john@jo.hnanthony.com>
4431
4432 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4433
4434 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4435
4436 2013-10-25 Glenn Morris <rgm@gnu.org>
4437
4438 * vc/vc.el (vc-print-log): Don't use a working revision unless
4439 one was explicitly specified. (Bug#15322)
4440
4441 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * subr.el (add-to-list): Preserve return value in compiler-macro
4444 (bug#15692).
4445
4446 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4447
4448 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4449 result. Ask user to retry using '-all' flag. (Bug#15701)
4450
4451 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * emacs-lisp/smie.el: New smie-config system.
4454 (smie-config): New defcustom.
4455 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4456 (smie-config-guess, smie-config-save): New commands.
4457 (smie-config--mode-local, smie-config--buffer-local)
4458 (smie-config--trace, smie-config--modefuns): New vars.
4459 (smie-config--advice, smie-config--mode-hook)
4460 (smie-config--setter, smie-config-local, smie-config--get-trace)
4461 (smie-config--guess-value, smie-config--guess): New functions.
4462 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4463 text properties. Treat "string fence" syntax like string syntax.
4464
4465 * progmodes/sh-script.el (sh-use-smie): Change default.
4466 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4467 (sh-var-value): Simplify by CSE.
4468 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4469 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4470 is used.
4471 (sh-guess-basic-offset): Use cl-incf.
4472 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4473
4474 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4475
4476 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4477 (bug#15699).
4478
4479 2013-10-24 Glenn Morris <rgm@gnu.org>
4480
4481 * Makefile.in (abs_top_srcdir): Remove.
4482 (update-subdirs): Use relative path to update-subdirs.
4483
4484 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4485
4486 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4487 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4488 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4489 Call unmsys--file-name before expand-file-name, not after it.
4490
4491 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4492
4493 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4494 (ert-test-skipped): New error.
4495 (ert-skip, ert-stats-skipped): New defuns.
4496 (ert--skip-unless): New macro.
4497 (ert-test-skipped): New struct.
4498 (ert--run-test-debugger, ert-test-result-type-p)
4499 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4500 (ert--stats-set-test-and-result, ert-char-for-test-result)
4501 (ert-string-for-test-result, ert-run-tests-batch)
4502 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4503 Handle skipped tests. (Bug#9803)
4504
4505 2013-10-24 Glenn Morris <rgm@gnu.org>
4506
4507 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4508
4509 * Makefile.in (abs_top_srcdir): New, set by configure.
4510 (update-subdirs): Correct build-aux location.
4511
4512 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4513
4514 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4515 value, whether we could auto-deduce `backend', or not.
4516
4517 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4518 with parameters" example. Simplify the "is it block or is it
4519 hash" check, but also make it more thorough.
4520
4521 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4522
4523 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4524
4525 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4528 { if it is hanging.
4529
4530 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4531 :before ";".
4532
4533 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4534
4535 * progmodes/compile.el (compilation-directory-matcher)
4536 (compilation-page-delimiter):
4537 Support GNU Make-4.0 directory quoting. (Bug#15678)
4538
4539 2013-10-23 Leo Liu <sdl.web@gmail.com>
4540
4541 * ido.el (ido-tidy): Handle read-only text.
4542
4543 2013-10-23 Glenn Morris <rgm@gnu.org>
4544
4545 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4546 (emacs, compile, compile-always):
4547 Quote entities that might contain whitespace.
4548 (custom-deps, finder-data, autoloads): Use abs_lisp.
4549 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4550 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4551 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4552
4553 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4554
4555 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4556 Use `following-char'.
4557
4558 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4561 * progmodes/ruby-mode.el (ruby-smie-rules):
4562 Remove corresponding workaround. Fix indentation rule of ";" so it
4563 also applies when ";" is the parent.
4564
4565 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4566
4567 * frame.el (display-screens, display-pixel-height)
4568 (display-pixel-width, display-mm-width, display-backing-store)
4569 (display-save-under, display-planes, display-color-cells)
4570 (display-visual-class, display-monitor-attributes-list):
4571 Mention the optional ‘display’ argument in doc strings.
4572
4573 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4574
4575 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4576 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4577
4578 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4579
4580 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4581 TODO. Add "." after " @ ".
4582 (ruby-smie--at-dot-call): New function. Checks if point at method
4583 call with explicit target.
4584 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4585 to the method name tokens when it precedes them.
4586 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4587 (ruby-smie-rules): Add rule for indentation before and after "."
4588 token.
4589
4590 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * textmodes/remember.el (remember-diary-extract-entries):
4593 Avoid add-to-list.
4594
4595 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4596 an instruction.
4597
4598 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4599
4600 * progmodes/ruby-mode.el (ruby-smie-grammar):
4601 Add (almost) all infix operators.
4602 (ruby-smie--implicit-semi-p): Add new operator chars.
4603
4604 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4605 `smie-down-list'.
4606 (ruby-smie--args-separator-p): Check that there's no newline
4607 between method call and its arguments.
4608
4609 2013-10-20 Alan Mackenzie <acm@muc.de>
4610
4611 Allow comma separated lists after Java "implements".
4612
4613 * progmodes/cc-engine.el (c-backward-over-enum-header):
4614 Parse commas.
4615 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4616 from a "disallowed" list in enum fontification.
4617
4618 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4619
4620 * startup.el (default-frame-background-mode): Remove unused defvar.
4621
4622 * progmodes/verilog-mode.el (verilog-mode): Don't set
4623 comment-indent-function globally.
4624
4625 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4626
4627 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4628 Move Info menu item creation to ns-win.el.
4629
4630 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4631 in menu bar.
4632
4633 * menu-bar.el: Move GNUstep specific menus...
4634
4635 * term/ns-win.el (ns-initialize-window-system): ... to here.
4636
4637 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * simple.el (newline): Only run post-self-insert-hook when
4640 called interactively.
4641
4642 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4643
4644 * icomplete.el (icomplete-with-completion-tables): Add :version.
4645
4646 2013-10-19 Alan Mackenzie <acm@muc.de>
4647
4648 Fix fontification bugs with constructors and const.
4649
4650 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4651 CASE 2) Remove the check for the absence of a suffix construct
4652 after a function declaration with only types (no identifiers) in
4653 the parentheses. Also, accept a function declaration with just a
4654 type inside the parentheses, if this type can be positively
4655 recognised as such, or if a prefix keyword like "explicit" nails
4656 down the construct as a declaration.
4657
4658 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4659
4660 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4661 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4662 the problem whereby selecting a menu item that leads to a
4663 minibuffer prompt moves the cursor out of the minibuffer window,
4664 making it hard to type at the prompt. Suggested by Stefan Monnier
4665 <monnier@iro.umontreal.ca>.
4666
4667 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4668
4669 * menu-bar.el: Don't make Services menu.
4670
4671 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4672
4673 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4674 (ffap-alist): Use ffap-c++-mode for c++-mode.
4675 (ffap-c++-path): New variable.
4676 (ffap-c++-mode): New function.
4677
4678 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4679
4680 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4681
4682 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4683
4684 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4685 introduced on 2013-09-08, which results in an infinite loop
4686 requesting a password.
4687
4688 2013-10-18 Glenn Morris <rgm@gnu.org>
4689
4690 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4691
4692 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4693
4694 Sync with upstream verilog-mode revision 1a6ecec7.
4695 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4696 (verilog-mode-release-date): Remove.
4697 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4698 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4699 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4700 (verilog-auto-tieoff-ignore-regexp)
4701 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4702 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4703 (verilog-signals-with, verilog-dir-cache-preserving)
4704 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4705 Doc fixes.
4706 (verilog-case-fold): New option, to control case folding in
4707 regexp searches, bug597.
4708 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4709 (verilog-string-match-fold, verilog-in-paren-count)
4710 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4711 (verilog-at-close-struct-p): New functions.
4712 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4713 (verilog-forward-sexp, verilog-set-auto-endcomments):
4714 (verilog-leap-to-case-head): Handle "unique0" case.
4715 (verilog-in-constraint-re): New constant.
4716 (verilog-keywords, verilog-type-font-keywords):
4717 Add some SystemVerilog 1800-2012 keywords.
4718 (verilog-label-be): Remove unimplemented argument, bug669.
4719 (verilog-batch-execute-func): When batch expanding clear
4720 create-lockfiles to prevent spurious user locks when a file ends
4721 up not changing.
4722 (verilog-calculate-indent, verilog-calc-1)
4723 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4724 (verilog-do-indent): Fix indentation of nested constraints
4725 and structures.
4726 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4727 (verilog-auto-inst-param): Use verilog-string-match-fold.
4728 (verilog-read-inst-module-matcher):
4729 Fix AUTOINST on gate primitives with #1.
4730 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4731 Reads all user-defined typed variables.
4732 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4733 (verilog-signals-matching-regexp)
4734 (verilog-signals-not-matching-regexp, verilog-auto):
4735 Respect verilog-case-fold.
4736 (verilog-diff-report): Fix line count.
4737 (verilog-auto-assign-modport): Remove unused local `modi'.
4738 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4739 better handle multidimensional arrays.
4740 Fix packed array ports misadding bit index in AUTOINST, bug637.
4741 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4742 to not double-declare existing outputs and inputs, respectively.
4743 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4744 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4745 (verilog-sk-uvm-component): New skeleton.
4746 (verilog-submit-bug-report): Add verilog-case-fold,
4747 remove verilog-mode-release-date.
4748
4749 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4750
4751 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4752 as before.
4753
4754 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4755
4756 * textmodes/remember.el (remember): Set buffer-offer-save in
4757 remember buffers (bug#13566).
4758
4759 2013-10-18 Daniel Colascione <dancol@dancol.org>
4760
4761 When evaluating forms in ielm, direct standard output to ielm
4762 buffer. Add new ielm-return-for-effect command. Remove trailing
4763 whitespace throughout.
4764
4765 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4766 (ielm-return-for-effect): New command.
4767 (ielm-send-input): Accept optional `for-effect' parameter.
4768 (ielm-eval-input): Accept optional `for-effect' parameter.
4769 Bind `standard-output' to stream we create using
4770 `ielm-standard-output-impl'. Suppress printing result when
4771 `for-effect'.
4772 (ielm-standard-output-impl): New function.
4773 (inferior-emacs-lisp-mode): Explain new features in documentation.
4774
4775 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4776
4777 Code cleanup.
4778
4779 * net/tramp.el (tramp-debug-message): Do not check for connection
4780 buffer.
4781 (tramp-message): Use "vector" connection property.
4782
4783 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4784 (tramp-equal-remote, tramp-eshell-directory-change)
4785 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4786 (tramp-adb-handle-rename-file)
4787 * net/tramp-cmds.el (tramp-list-remote-buffers)
4788 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4789 * net/tramp-compat.el (tramp-compat-process-running-p)
4790 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4791 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4792 (tramp-gvfs-handle-rename-file)
4793 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4794 (tramp-set-file-uid-gid)
4795 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4796 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4797 of `file-remote-p'.
4798
4799 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4800 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4801 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4802 (tramp-gw-open-network-stream): Suppress unrelated traces.
4803
4804 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4805 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4806 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4807 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4808 connection property.
4809
4810 * net/tramp-cache.el (top): Suppress traces when reading
4811 persistency file.
4812
4813 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4814 Refactor common code. Improve debug message.
4815 (tramp-maybe-open-connection)
4816 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4817 connection buffer too early.
4818
4819 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4820 from `tramp-smb-actions-with-acl'.
4821 (tramp-smb-actions-set-acl): New defconst.
4822 (tramp-smb-handle-copy-directory)
4823 (tramp-smb-action-get-acl): New defun, renamed from
4824 `tramp-smb-action-with-acl'.
4825 (tramp-smb-action-set-acl): New defun.
4826 (tramp-smb-handle-set-file-acl): Rewrite.
4827
4828 2013-10-17 Glenn Morris <rgm@gnu.org>
4829
4830 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4831
4832 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * skeleton.el (skeleton-newline): Remove.
4835 (skeleton-internal-1): Use (insert "\n") instead.
4836
4837 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4838 let-bindings.
4839
4840 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4841 forward-sexp-function while we redo its job (bug#15613).
4842
4843 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4844
4845 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4846 represented by lists.
4847
4848 2013-10-16 Glenn Morris <rgm@gnu.org>
4849
4850 * tmm.el (tmm--history): New dynamic variable.
4851 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4852
4853 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4854
4855 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4856 (tramp-smb-errors): Add error messages.
4857 (tramp-smb-actions-with-acl): New defconst.
4858 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4859 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4860 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4861 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4862 (tramp-smb-get-stat-capability): Fix tests.
4863
4864 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4865
4866 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4867 (bug#15580).
4868
4869 2013-10-16 Glenn Morris <rgm@gnu.org>
4870
4871 * ansi-color.el (ansi-color-drop-regexp):
4872 Add 1J, 1K, 2K. (Bug#15617)
4873
4874 * files.el (hack-local-variables--warned-lexical): New.
4875 (hack-local-variables):
4876 Warn about misplaced lexical-binding. (Bug#15616)
4877
4878 * net/eww.el (eww-render): Always set eww-current-url,
4879 and update header line. (Bug#15622)
4880 (eww-display-html): ... Rather than just doing it here.
4881
4882 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4883
4884 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4885 menu navigations commands.
4886
4887 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4888
4889 * progmodes/subword.el (subword-capitalize): Be careful when
4890 the search for [[:alpha:]] fails (bug#15580).
4891
4892 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4893
4894 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4895 to commands that scroll the menu.
4896
4897 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4898
4899 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4900 Handle methods ending with `?' and `!'.
4901
4902 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4903
4904 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4905 `japanese-cp932' to `cp932' to fix the problem where saving a
4906 source file written in Shift_JIS twice would end up having
4907 `coding: japanese-cp932' which Ruby could not recognize.
4908 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4909 in `ruby-encoding-map'.
4910 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4911 doesn't need to be explicitly declared in magic comment.
4912 (ruby-encoding-map): Add type declaration for better customize UI.
4913
4914 2013-10-13 Glenn Morris <rgm@gnu.org>
4915
4916 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4917 Occur buffers are read-only. http://bugs.debian.org/720775
4918
4919 * emacs-lisp/authors.el (authors-fixed-entries):
4920 Comment out old alpha stuff.
4921
4922 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4923
4924 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4925 to `after-save-hook' instead of `before-save-hook'.
4926 (ruby-mode-set-encoding): Use the value of coding system used to
4927 write the file. Call `basic-save-buffer-1' after modifying the
4928 buffer.
4929
4930 2013-10-13 Alan Mackenzie <acm@muc.de>
4931
4932 Fix indentation/fontification of Java enum with
4933 "implements"/generic.
4934
4935 * progmodes/cc-engine.el (c-backward-over-enum-header):
4936 Extracted from the three other places and enhanced to handle generics.
4937 (c-inside-bracelist-p): Uses new function above.
4938 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4939 function above.
4940 (c-font-lock-enum-tail): Uses new function above.
4941
4942 2013-10-13 Kenichi Handa <handa@gnu.org>
4943
4944 * international/mule-cmds.el (select-safe-coding-system): Remove a
4945 superfluous condition in chekcing whether a coding system is safe
4946 or not.
4947
4948 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4949
4950 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4951
4952 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4953
4954 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4955
4956 2013-10-13 Glenn Morris <rgm@gnu.org>
4957
4958 * menu-bar.el (menu-bar-update-buffers):
4959 Unify Buffers menu prompt string. (Bug#15576)
4960
4961 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4962
4963 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4964 Add some entries.
4965 (authors-fixed-entries): Use accented form of name.
4966
4967 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4970 method calls (bug#15594).
4971 (ruby-smie--args-separator-p): New function.
4972 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4973 recognize paren-free method calls.
4974
4975 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4976 internals of universal-argument.
4977
4978 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4979
4980 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4981 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4982 dropped menu on second mouse click on the menu bar.
4983
4984 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4987 (explicit-shell-file-name): Declare.
4988 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4989 (sh-completion-at-point-function): New function.
4990 (sh-mode): Use it.
4991 (sh-smie--keyword-p): Remove unused argument.
4992 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4993 vars.
4994 (sh-set-shell): Always setup SMIE, even if we use the
4995 old indentation code.
4996
4997 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4998
4999 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5000 cases of ? and =.
5001 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5002 predicate would return nil are almost non-existent.
5003 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5004
5005 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5006 cache also after commands that modify the buffer but don't move
5007 point.
5008
5009 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * env.el (substitute-env-in-file-name): New function.
5012 (substitute-env-vars): Extend the meaning of the optional arg.
5013
5014 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5015
5016 * term/w32-win.el (dynamic-library-alist): Define separate lists
5017 of GIF DLLs for versions before and after 5.0.0 of giflib.
5018 (Bug#15531)
5019
5020 2013-10-10 João Távora <joaotavora@gmail.com>
5021
5022 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5023 not locked, use last revision and current source as
5024 defaults. (Bug#15569)
5025
5026 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5027
5028 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5029 menu-bar is hidden.
5030
5031 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (pop-to-buffer-same-window): Fix doc-string.
5034 (Bug#15492)
5035
5036 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5039
5040 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5041
5042 * calendar/icalendar.el (icalendar-import-file):
5043 Fix interactive spec. (Bug#15482)
5044
5045 2013-10-10 Glenn Morris <rgm@gnu.org>
5046
5047 * desktop.el (desktop-save): Default to saving in .emacs.d,
5048 since PWD is no longer in desktop-path by default. (Bug#15319)
5049
5050 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5051 now that text mode has a menu with the same entry.
5052 (menu-bar-text-mode-auto-fill): Remove now unused func.
5053 * textmodes/text-mode.el (text-mode-map):
5054 Use auto-fill help text from menu-bar.el.
5055
5056 2013-10-10 John Anthony <john@jo.hnanthony.com>
5057
5058 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5059
5060 2013-10-09 Juri Linkov <juri@jurta.org>
5061
5062 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5063 instead of this-command-keys. Add universal-argument-more and
5064 universal-argument-minus to the list of prefix commands. (Bug#15568)
5065
5066 2013-10-09 Glenn Morris <rgm@gnu.org>
5067
5068 * vc/vc-svn.el (vc-svn-create-repo):
5069 Expand paths in file://... url. (Bug#15446)
5070
5071 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5072 Add some entries.
5073 (authors): Remove unused local variables.
5074
5075 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * profiler.el: Create a more coherent calltree from partial backtraces.
5078 (profiler-format): Hide the tail with `invisible' so that C-s can still
5079 find the hidden elements.
5080 (profiler-calltree-depth): Don't recurse so enthusiastically.
5081 (profiler-function-equal): New hash-table-test.
5082 (profiler-calltree-build-unified): New function.
5083 (profiler-calltree-build): Use it.
5084 (profiler-report-make-name-part): Indent the calltree less.
5085 (profiler-report-mode): Add visibility specs for profiler-format.
5086 (profiler-report-expand-entry, profiler-report-toggle-entry):
5087 Expand the whole subtree when provided with a prefix arg.
5088
5089 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5090
5091 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5092 iuwu-mod token.
5093 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5094 hanging iuwu-mod token.
5095 (ruby-smie--forward-token): Do not include a dot after a token in
5096 that token.
5097 (ruby-smie--backward-token): Likewise.
5098
5099 2013-10-08 Juri Linkov <juri@jurta.org>
5100
5101 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5102 to isearch-other-control-char.
5103 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5104 and isearch-post-command-hook to post-command-hook.
5105 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5106 and isearch-post-command-hook from post-command-hook.
5107 (isearch-unread-key-sequence)
5108 (isearch-reread-key-sequence-naturally)
5109 (isearch-lookup-scroll-key, isearch-other-control-char)
5110 (isearch-other-meta-char): Remove functions.
5111 (isearch-pre-command-hook, isearch-post-command-hook):
5112 New functions based on isearch-other-meta-char rewritten
5113 relying on the new behavior of overriding-terminal-local-map
5114 that does not replace the local keymaps any more. (Bug#15200)
5115
5116 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5117
5118 Support menus on text-mode terminals.
5119 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5120 functionality.
5121
5122 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5123
5124 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5125 Move here from mouse.el.
5126 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5127 and arrow keys.
5128 (tty-menu-navigation-map): New map for TTY menu navigation.
5129
5130 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5131
5132 * frame.el (display-mouse-p): Report text-mode mouse as available
5133 on w32.
5134 (display-popup-menus-p): Report availability if mouse is
5135 available; don't condition on window-system.
5136
5137 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5138 (tty-menu-selected-face): New faces.
5139
5140 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5143 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5144 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5145 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5146 New constants.
5147 (lisp-mode-variables): New `elisp' argument.
5148 (emacs-lisp-mode): Use it.
5149 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5150 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5151
5152 * indent.el: Use lexical-binding.
5153 (indent-region): Add progress reporter.
5154 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5155 last step.
5156 (indent--next-tab-stop): New function to implement this behavior.
5157 (tab-to-tab-stop, move-to-tab-stop): Use it.
5158
5159 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5160
5161 * indent.el (indent-rigidly--current-indentation): New function.
5162 (indent-rigidly-map): New var.
5163 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5164
5165 2013-10-08 Bastien Guerry <bzg@gnu.org>
5166
5167 * register.el (insert-register): Fix 2013-10-07 change.
5168
5169 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * progmodes/perl-mode.el: Use lexical-binding.
5172 Remove redundant :group args.
5173 (perl-nochange): Change default to be closer to other major modes's
5174 standard behavior.
5175 (perl-indent-line): Don't consider text on current line as a
5176 valid beginning of function from which to indent.
5177
5178 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5179 with more than one argument (bug#15538).
5180
5181 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5182
5183 * vc/pcvs.el: Use lexical-binding.
5184 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5185 environment of `eval'.
5186 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5187 than a list of expressions. Adjust callers.
5188 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5189
5190 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5191
5192 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5193 case of the dot in a chained method call being on the following line.
5194
5195 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * electric.el (electric-indent-inhibit): New var.
5198 (electric-indent-post-self-insert-function): Use it.
5199 * progmodes/python.el (python-mode): Set it.
5200
5201 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5202 open braces.
5203
5204 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5205
5206 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5207 (css-mode): Use electric-indent-chars.
5208
5209 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5210 (font-lock-beg, font-lock-end): Move before first use.
5211 (nxml-mode): Use syntax-propertize-function.
5212 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5213 (nxml-extend-after-change-region): Remove.
5214 * nxml/xmltok.el: Use lexical-binding.
5215 (xmltok-save): Use `declare'.
5216 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5217 * nxml/nxml-util.el: Use lexical-binding.
5218 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5219 Use `declare'.
5220 * nxml/nxml-ns.el: Use lexical-binding.
5221 (nxml-ns-save): Use `declare'.
5222 (nxml-ns-prefixes-for): Avoid add-to-list.
5223 * nxml/rng-match.el: Use lexical-binding.
5224 (rng--ipattern): Use cl-defstruct.
5225 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5226 (rng-cons-group-after, rng-subst-group-after)
5227 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5228 Use closures instead of `(lambda...).
5229
5230 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5231
5232 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5233 of BEG and END.
5234
5235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5236 Use `tramp-handle-insert-file-contents'.
5237 (tramp-gvfs-handle-insert-file-contents): Remove function.
5238
5239 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5240 Use `save-restriction' in order to keep markers.
5241
5242 * net/trampver.el: Update release number.
5243
5244 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * progmodes/compile.el (compilation-parse-errors):
5247 Use compilation--put-prop.
5248 (compilation--ensure-parse): Check compilation-multiline.
5249
5250 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5251
5252 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5253 lexical-binding.
5254
5255 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5256
5257 * progmodes/ruby-mode.el: Fix recently added tests.
5258 (ruby-smie-grammar): Add - and +.
5259 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5260 (ruby-smie--backward-id): New functions.
5261 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5262 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5263 any more.
5264
5265 2013-10-07 Leo Liu <sdl.web@gmail.com>
5266
5267 * register.el (register-preview-delay)
5268 (register-preview-functions): New variables.
5269 (register-read-with-preview, register-preview)
5270 (register-describe-oneline): New functions.
5271 (point-to-register, window-configuration-to-register)
5272 (frame-configuration-to-register, jump-to-register)
5273 (number-to-register, view-register, insert-register)
5274 (copy-to-register, append-to-register, prepend-to-register)
5275 (copy-rectangle-to-register): Use register-read-with-preview to
5276 read register. (Bug#15525)
5277
5278 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5279
5280 * net/network-stream.el (network-stream-open-starttls): Don't add
5281 --insecure if it's already present, because that gnutls-cli
5282 rejects getting that parameter twice.
5283
5284 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5285
5286 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5287 keyword, too.
5288
5289 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5290
5291 * newcomment.el (comment-use-global-state): Change default value
5292 to t, mark obsolete (Bug#15251).
5293 (comment-beginning): In addition to `comment-to-syntax', check the
5294 value of `comment-use-global-state'.
5295
5296 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5299 (ruby-comment-column): Follow the global default, by default.
5300 (ruby-smie-grammar): Add assignment syntax.
5301 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5302 open-paren, a comma, or a \.
5303 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5304 and line continuations.
5305 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5306 followed by implicit semi-colons. Add rule for string concatenation
5307 and for indentation at BOB.
5308 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5309
5310 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5311 calling next-sexp, since next-token may have skipped chars which
5312 next-sexp doesn't know should be skipped!
5313
5314 2013-10-05 Leo Liu <sdl.web@gmail.com>
5315
5316 * progmodes/octave.el (octave-send-region):
5317 Call compilation-forget-errors.
5318
5319 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5320
5321 * vc/vc-svn.el (vc-svn-find-admin-dir):
5322 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5323 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5324 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5325 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5326
5327 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5330
5331 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * subr.el (read-passwd): Hide chars even when called within a context
5334 where after-change-functions is disabled (bug#15501).
5335 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5336 until we removed ourself from overriding-terminal-local-map.
5337
5338 2013-10-04 Leo Liu <sdl.web@gmail.com>
5339
5340 * progmodes/octave.el (inferior-octave-mode):
5341 Call compilation-forget-errors.
5342
5343 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5344
5345 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5346
5347 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5348
5349 * net/secrets.el (secrets-create-collection): Add optional
5350 argument ALIAS. Use proper Label keyword. Append ALIAS as
5351 dbus-call-method argument. (Bug#15516)
5352
5353 2013-10-04 Leo Liu <sdl.web@gmail.com>
5354
5355 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5356 (inferior-octave-compilation-font-lock-keywords): New variables.
5357 (compilation-error-regexp-alist)
5358 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5359 (inferior-octave-mode): Use compilation-shell-minor-mode.
5360
5361 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5362
5363 * minibuffer.el (completion--replace): Be careful that `end' might be
5364 a marker.
5365
5366 2013-10-03 Daiki Ueno <ueno@gnu.org>
5367
5368 Add support for package signature checking.
5369 * emacs-lisp/package.el (url-http-file-exists-p)
5370 (epg-make-context, epg-context-set-home-directory)
5371 (epg-verify-string, epg-context-result-for)
5372 (epg-signature-status, epg-signature-to-string)
5373 (epg-check-configuration, epg-configuration)
5374 (epg-import-keys-from-file): Declare.
5375 (package-check-signature): New user option.
5376 (package-unsigned-archives): New user option.
5377 (package-desc): Add `signed' field.
5378 (package-load-descriptor): Set `signed' field if .signed file exists.
5379 (package--archive-file-exists-p): New function.
5380 (package--check-signature): New function.
5381 (package-install-from-archive): Check package signature.
5382 (package--download-one-archive): Check archive signature.
5383 (package-delete): Remove .signed file.
5384 (package-import-keyring): New command.
5385 (package-refresh-contents): Import default keyring.
5386 (package-desc-status): Add "unsigned" status.
5387 (describe-package-1, package-menu--print-info)
5388 (package-menu-mark-delete, package-menu--find-upgrades)
5389 (package-menu--status-predicate): Support "unsigned" status.
5390
5391 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5394 the new compilation scheme using the new byte-codes.
5395
5396 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5397 (byte-pophandler): New byte codes.
5398 (byte-goto-ops): Adjust accordingly.
5399 (byte-compile--use-old-handlers): New var.
5400 (byte-compile-catch): Use new byte codes depending on
5401 byte-compile--use-old-handlers.
5402 (byte-compile-condition-case--old): Rename from
5403 byte-compile-condition-case.
5404 (byte-compile-condition-case--new): New function.
5405 (byte-compile-condition-case): New function that dispatches depending
5406 on byte-compile--use-old-handlers.
5407 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5408 when we can.
5409
5410 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5411 Optimize under `condition-case' and `catch' if
5412 byte-compile--use-old-handlers is nil.
5413 (disassemble-offset): Handle new bytecodes.
5414
5415 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * subr.el (error): Use `declare'.
5418 (decode-char, encode-char): Use advertised-calling-convention instead
5419 of the docstring to discourage use of the `restriction' arg.
5420
5421 2013-10-03 Daiki Ueno <ueno@gnu.org>
5422
5423 * epg.el (epg-verify-file): Add a comment saying that it does not
5424 notify verification error as a return value nor a signal.
5425 (epg-verify-string): Ditto.
5426
5427 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5428
5429 * progmodes/compile.el (compilation-start): Try globbing the arg to
5430 `cd' (bug#15417).
5431
5432 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5433
5434 Sync with Tramp 2.2.8.
5435
5436 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5437 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5438 * net/trampver.el: Update release number.
5439
5440 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5441
5442 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5443 and default-process-coding-system for darwin only.
5444
5445 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5448
5449 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5450
5451 * vc/vc-git.el (vc-git-grep): Disable pager.
5452
5453 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5454
5455 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5456 Use :url instead of :homepage, as per
5457 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5458
5459 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5460 non-nil, use `syntax-ppss' (Bug#15251).
5461
5462 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5463
5464 * progmodes/octave.el (inferior-octave-startup-file):
5465 Prefer ~/.emacs.d/init_octave.m.
5466
5467 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5468
5469 * emacs-lisp/package.el (package-desc-from-define):
5470 Accept additional arguments as plist, convert them to an alist and store
5471 them in the `extras' slot.
5472 (package-generate-description-file): Convert extras alist back to
5473 plist and append to the `define-package' form arguments.
5474 (package--alist-to-plist): New function.
5475 (package--ac-desc): Add `extras' slot.
5476 (package--add-to-archive-contents): Check if the archive-contents
5477 vector is long enough, and if it is, pass its `extras' slot value
5478 to `package-desc-create'.
5479 (package-buffer-info): Call `lm-homepage', pass the returned value
5480 to `package-desc-from-define'.
5481 (describe-package-1): Render the homepage button (Bug#13291).
5482
5483 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5484 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5485
5486 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5487
5488 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5489 and default-process-coding-system to utf-8-unix (Bug#15402).
5490
5491 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5492
5493 * subr.el (looking-back): Do not recommend using looking-back.
5494
5495 2013-09-28 Alan Mackenzie <acm@muc.de>
5496
5497 Fix indentation/fontification of Java enum with "implements".
5498
5499 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5500 regexp which matches "implements", etc., in Java.
5501 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5502 specifier clauses coming after "enum".
5503 * progmodes/cc-fonts.el (c-font-lock-declarations)
5504 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5505 after "enum".
5506
5507 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5508
5509 * faces.el (region): Change ns_selection_color to
5510 ns_selection_fg_color, add ns_selection_bg_color.
5511
5512 2013-09-28 Leo Liu <sdl.web@gmail.com>
5513
5514 * progmodes/octave.el (inferior-octave-completion-table)
5515 (inferior-octave-completion-at-point): Minor tweaks.
5516
5517 * textmodes/ispell.el (ispell-lookup-words): Rename from
5518 lookup-words. (Bug#15460)
5519 (lookup-words): Obsolete.
5520 (ispell-complete-word, ispell-command-loop): All uses changed.
5521
5522 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5523
5524 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5525 (octave-mode-menu): Add octave-send-buffer.
5526 (octave-send-buffer): New function.
5527
5528 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5529
5530 * progmodes/octave.el (octave-mode-map): Add key binding for
5531 octave-lookfor.
5532 (octave-mode-menu): Add octave-lookfor.
5533 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5534 octave-lookfor.
5535 (octave-lookfor): New function.
5536
5537 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * emacs-lisp/cl-macs.el:
5540 (cl--loop-destr-temps): Remove.
5541 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5542 its convention.
5543 (cl--loop-set-iterator-function): New function.
5544 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5545 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5546 Bind `it' with `let' instead of substituting it with `cl-subst'.
5547 (cl--unused-var-p): New function.
5548 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5549 Eliminate some unused variable warnings (bug#15326).
5550
5551 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5552
5553 * doc-view.el (doc-view-scale-reset): Rename from
5554 `doc-view-reset-zoom-level'.
5555 (doc-view-scale-adjust): New command.
5556 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5557 `doc-view-scale-adjust'.
5558
5559 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5560
5561 * doc-view.el (doc-view-reset-zoom-level): New command.
5562 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5563 zoom commands (bug#15466).
5564
5565 2013-09-26 Kenichi Handa <handa@gnu.org>
5566
5567 * international/quail.el (quail-help): Make it not a command.
5568
5569 2013-09-26 Leo Liu <sdl.web@gmail.com>
5570
5571 * minibuffer.el (completion-all-sorted-completions): Make args
5572 optional as they are.
5573
5574 2013-09-25 Daniel Colascione <dancol@dancol.org>
5575
5576 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5577 specs are and that they're not evaluated.
5578
5579 2013-09-24 Sam Steingold <sds@gnu.org>
5580
5581 * midnight.el (clean-buffer-list-kill-regexps)
5582 (clean-buffer-list-kill-buffer-names): Update for the new Man
5583 buffer naming which includes the object name.
5584
5585 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5588 (eshell-parse-command, eshell-parse-pipeline): Use it since
5589 eshell-separate-commands requires a dynamic scoped var.
5590 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5591
5592 2013-09-23 Leo Liu <sdl.web@gmail.com>
5593
5594 * autoinsert.el (auto-insert-alist): Make the value of
5595 lexical-binding match its file setting.
5596
5597 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5598
5599 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5600
5601 * autoarg.el (autoarg-kp-digit-argument):
5602 * electric.el (Electric-command-loop):
5603 * kmacro.el (kmacro-step-edit-insert):
5604 Do not set universal-argument-num-events.
5605
5606 2013-09-22 Leo Liu <sdl.web@gmail.com>
5607
5608 * files.el (interpreter-mode-alist): Add octave.
5609
5610 2013-09-21 Alan Mackenzie <acm@muc.de>
5611
5612 C++: fontify identifier in declaration following "public:" correctly.
5613 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5614 to match "public", etc.
5615 (c-decl-prefix-re): Add ":" into the C++ value.
5616 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5617 bit. Add a check for a ":" preceded by "public", etc.
5618
5619 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5620
5621 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5622 recognized by GDB 7.5 and later.
5623
5624 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5625
5626 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5627
5628 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * subr.el (internal--call-interactively): New const.
5631 (called-interactively-p): Use it (bug#3984).
5632
5633 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5634
5635 * vc/pcvs.el (cvs-mode-ignore):
5636 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5637 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5638
5639 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5642 (eshell-ls-orig-insert-directory): Remove.
5643 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5644 (eshell-ls-use-in-dired): Use advice-add/remove.
5645 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5646 Add `orig-fun' arg for use in :around advice.
5647 Make it check (redundantly) eshell-ls-use-in-dired.
5648
5649 2013-09-19 Glenn Morris <rgm@gnu.org>
5650
5651 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5652
5653 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5654
5655 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5656
5657 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5658
5659 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5660 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5661 (tramp-get-remote-python): New defuns.
5662 (tramp-get-remote-uid-with-perl)
5663 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5664 contributed by yary <not.com@gmail.com> (tiny change).
5665 (tramp-get-remote-uid-with-python)
5666 (tramp-get-remote-gid-with-python): New defuns. Python code
5667 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5668 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5669
5670 2013-09-19 Glenn Morris <rgm@gnu.org>
5671
5672 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5673
5674 * eshell/em-unix.el (eshell-remove-entries):
5675 Rename argument to avoid name-clash with global `top-level'.
5676
5677 * eshell/esh-proc.el (eshell-kill-process-function):
5678 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5679 (eshell-reset-after-proc): Remove unused arg `proc'.
5680
5681 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5682 (directory-files-and-attributes): Mark unused arg.
5683
5684 * eshell/em-unix.el (eshell-remove-entries):
5685 Remove unused arg `path'. Update callers.
5686
5687 * eshell/em-hist.el (eshell-hist-parse-arguments):
5688 Remove unused arg `silent'. Update callers.
5689
5690 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5691 Fix (f)boundp mix-up.
5692
5693 * eshell/em-smart.el (eshell-smart-scroll-window)
5694 (eshell-disable-after-change):
5695 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5696
5697 2013-09-18 Alan Mackenzie <acm@muc.de>
5698
5699 Fix fontification of type when followed by "const".
5700 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5701 "known" types from fontification.
5702
5703 2013-09-18 Glenn Morris <rgm@gnu.org>
5704
5705 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5706 (chart-face-list): Drop Emacsen without display-color-p.
5707
5708 * net/eww.el (libxml-parse-html-region): Declare.
5709 (eww-display-html): Explicit error if no libxml2 support.
5710
5711 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5712
5713 * image.el (image-type-from-buffer, image-multi-frame-p):
5714 Remove --without-x warning/error.
5715
5716 * mouse.el (mouse-yank-primary):
5717 * term.el (term-mouse-paste):
5718 Reorder to silence --without-x compilation.
5719
5720 * mpc.el (doc-view-mode): Silence --without-x compilation.
5721
5722 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5723 Silence --without-x compilation.
5724
5725 * progmodes/gud.el (gud-find-file, gud-mode):
5726 Silence --without-x compilation.
5727 (tooltip-mode): Declare.
5728
5729 * wdired.el (dired-backup-overwrite): Remove declaration.
5730 (wdired-mode-map): Add doc string.
5731
5732 * custom.el (x-get-resource): Declare.
5733
5734 * eshell/em-glob.el (ange-cache):
5735 * eshell/em-unix.el (ange-cache): Declare.
5736
5737 * faces.el (x-display-list, x-open-connection, x-get-resource):
5738 Declare.
5739
5740 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5741 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5742 Declare.
5743
5744 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5745
5746 * net/gnutls.el (gnutls-log-level): Declare.
5747
5748 * net/shr.el (image-size, image-animate): Declare.
5749
5750 * simple.el (font-info): Declare.
5751
5752 * subr.el (x-popup-dialog): Declare.
5753
5754 * term/common-win.el (x-select-enable-primary)
5755 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5756 Declare.
5757
5758 * term/ns-win.el (x-handle-args): Declare.
5759
5760 * term/x-win.el (x-select-enable-clipboard): Declare.
5761
5762 * term/w32-win.el (create-default-fontset): Declare.
5763
5764 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5765 Declare.
5766
5767 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5768 (fit-frame-to-buffer): Explicit error if --without-x.
5769 (mouse-autoselect-window-select): Silence compiler.
5770
5771 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5772
5773 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5774 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5775 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5776 * eshell/esh-util.el (eshell-sublist):
5777 Remove unused local variables.
5778
5779 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5780
5781 * textmodes/two-column.el: Make 2C-split work for --without-x.
5782 (scroll-bar-columns): Autoload.
5783 (top-level): Require fringe when compiling.
5784
5785 2013-09-18 Leo Liu <sdl.web@gmail.com>
5786
5787 * subr.el (add-hook): Robustify to handle closure as well.
5788
5789 2013-09-17 Glenn Morris <rgm@gnu.org>
5790
5791 * simple.el (messages-buffer-mode-map): Unbind "g".
5792
5793 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * help-mode.el (help-mode-finish): Use derived-mode-p.
5796 Remove obsolete highlighting.
5797
5798 * play/life.el (life-mode): Use define-derived-mode. Derive from
5799 special-mode.
5800 (life): Let-bind inhibit-read-only.
5801 (life-setup): Avoid `setq'. Use `life-mode'.
5802
5803 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5804 which should not be needed any more.
5805 (package-menu-refresh, package-menu-describe-package): Use user-error.
5806
5807 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5808 (eshell-post-rewrite-command-hook): Make obsolete.
5809 (eshell-parse-command): Simplify.
5810 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5811 (eshell--cmd): Declare.
5812 (eshell-parse-pipeline): Remove unused var `final-p'.
5813 Pass a dynvar to eshell-post-rewrite-command-hook.
5814 Implement the new eshell-post-rewrite-command-function.
5815 (eshell-invoke-directly): Remove unused arg `input'.
5816 * eshell/esh-io.el (eshell-io-initialize):
5817 Use eshell-post-rewrite-command-function (bug#15399).
5818 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5819 adjust to new calling convention.
5820 (eshell-create-handles): Rename args to avoid clashing with dynvar
5821 `standard-output'.
5822
5823 2013-09-17 Glenn Morris <rgm@gnu.org>
5824
5825 * simple.el (messages-buffer-mode): New major mode.
5826 (messages-buffer): New function.
5827 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5828 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5829 (ert-run-test): Use `messages-buffer' function.
5830 (ert--force-message-log-buffer-truncation): Ignore read-only.
5831 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5832 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5833
5834 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5837
5838 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5839
5840 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * icomplete.el (icomplete-in-buffer): New var.
5843 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5844 vars and replace them with functions.
5845 (icomplete-minibuffer-setup): Adjust accordingly.
5846 (icomplete--completion-table, icomplete--completion-predicate)
5847 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5848 New functions.
5849 (icomplete-forward-completions, icomplete-backward-completions)
5850 (icomplete-simple-completing-p, icomplete-exhibit)
5851 (icomplete-completions): Use them.
5852 (icomplete--in-region-buffer): New var.
5853 (icomplete--in-region-setup): New function.
5854 (icomplete-mode): Use it.
5855
5856 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5857 (bug#15379).
5858 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5859 return args and options.
5860 (eshell-eval-using-options): Use the new return value of
5861 eshell--do-opts to set the options's vars in their scope.
5862 (eshell--set-option): Rename from eshell-set-option.
5863 Add arg `opt-vals'.
5864 (eshell--process-option): Rename from eshell-process-option.
5865 Add arg `opt-vals'.
5866 (eshell--process-args): Use an `opt-vals' alist to store the options's
5867 values during their processing and return them additionally to the
5868 remaining args.
5869
5870 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5871
5872 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5873 continuation character an operator, as far as indentation is
5874 concerned (Bug#15369).
5875
5876 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5877
5878 * window.el (window--state-put-2): Don't process buffer state
5879 when buffer doesn't exist any more (Bug#15382).
5880
5881 2013-09-15 Glenn Morris <rgm@gnu.org>
5882
5883 * eshell/em-unix.el (eshell/rm):
5884 Make -f ignore missing files. (Bug#15373)
5885
5886 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5887 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5888 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5889
5890 2013-09-14 Glenn Morris <rgm@gnu.org>
5891
5892 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5893
5894 2013-09-13 Glenn Morris <rgm@gnu.org>
5895
5896 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5897 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5898
5899 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5900
5901 * frame.el (x-focus-frame): Mark as declared in frame.c.
5902
5903 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * ls-lisp.el: Use advice-add.
5906 (original-insert-directory): Remove.
5907 (ls-lisp--insert-directory): Rename from insert-directory; add
5908 `orig-fun' argument.
5909 (insert-directory): Advise.
5910
5911 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5912
5913 * term.el (term-emulate-terminal): Decode the command string
5914 before passing it to term-command-hook. (Bug#15337)
5915
5916 2013-09-13 Glenn Morris <rgm@gnu.org>
5917
5918 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5919
5920 * eshell/esh-ext.el (eshell-search-path): Declare.
5921
5922 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5923 Otherwise an error occurs if eshell-dirs module not loaded.
5924
5925 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5926
5927 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5928
5929 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5930 `tramp-check-proper-host'. Check for a valid method name.
5931
5932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5933 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5934 * net/tramp-sh.el (tramp-maybe-open-connection):
5935 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5936
5937 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5938 also for hash values.
5939
5940 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 * term/ns-win.el (parameters): Don't declare as dynamic.
5943 (before-make-frame-hook): Don't add ineffective function.
5944
5945 * eshell/*.el: Use lexical-binding (bug#15231).
5946
5947 2013-09-12 Kenichi Handa <handa@gnu.org>
5948
5949 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5950
5951 2013-09-12 Glenn Morris <rgm@gnu.org>
5952
5953 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5954 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5955
5956 * subr.el (do-after-load-evaluation): Also give compiler warnings
5957 when obsolete files are used (except by obsolete files).
5958
5959 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5960 in the status output, assume `filename' is the first. (Bug#15322)
5961
5962 * vc/vc.el (vc-deduce-fileset): Doc fix.
5963
5964 * calc/calc-help.el (Info-goto-node):
5965 * progmodes/cperl-mode.el (Info-find-node):
5966 * vc/ediff.el (Info-goto-node): Update declarations.
5967
5968 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5969
5970 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5971 (vc-bzr-pull): Require vc-dispatcher.
5972 * vc/vc-git.el (vc-compilation-mode): Declare.
5973 (vc-git-pull): Require vc-dispatcher.
5974
5975 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5976
5977 * progmodes/octave.el (help-button-action): Declare.
5978
5979 * shell.el (shell-directory-tracker): Output error as a message
5980 rather than just returning it as a string.
5981 (shell-process-pushd): Remove useless use of message.
5982
5983 * dframe.el (dframe-timer-fn):
5984 * files.el (dir-locals-read-from-file):
5985 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5986 (mpc-format):
5987 * reveal.el (reveal-post-command):
5988 * saveplace.el (load-save-place-alist-from-file):
5989 * shell.el (shell-resync-dirs):
5990 * w32-common-fns.el (x-get-selection-value):
5991 * emacs-lisp/copyright.el (copyright-find-copyright):
5992 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5993 * emulation/tpu-edt.el (tpu-copy-keyfile):
5994 * play/bubbles.el (bubbles--mark-neighbourhood):
5995 * progmodes/executable.el
5996 (executable-make-buffer-file-executable-if-script-p):
5997 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5998
5999 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 Cleanup Eshell to rely less on dynamic scoping.
6002 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6003 last-value, and ext-command here. Bind `args' closer to `body'.
6004 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6005 (eshell--args): Declare new dynamic var.
6006 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6007 last-value, and ext-command. Pass `args' to `body'.
6008 (eshell-process-args): Bind eshell--args.
6009 (eshell-set-option): Use eshell--args.
6010 * eshell/eshell.el (eshell): Use derived-mode-p.
6011 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6012 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6013 (eshell-glob-function): Declare.
6014 * eshell/esh-util.el: Require cl-lib.
6015 (eshell-read-hosts-file): Avoid add-to-list.
6016 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6017 `err'.
6018 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6019 Declare.
6020 (eshell/diff): Remove unused var `err'.
6021 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6022 `killflag'.
6023 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6024 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6025 first use.
6026 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6027 Move declaration before first use.
6028 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6029 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6030 rely on cl-return.
6031
6032 2013-09-12 Glenn Morris <rgm@gnu.org>
6033
6034 * term/ns-win.el (global-map): Remove binding for ispell-next,
6035 deleted 1999-05-29. (Bug#15357)
6036
6037 2013-09-11 Glenn Morris <rgm@gnu.org>
6038
6039 * echistory.el (electric-command-history): Remove call to deleted func.
6040
6041 * play/landmark.el (landmark-mode): Fix typos.
6042
6043 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6044 Check cvs-sort-ignore-file is bound.
6045
6046 * savehist.el: No need for cl when compiling on Emacs.
6047
6048 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6051 (bug#15338).
6052 (eshell-self-insert-command, eshell-send-invisible):
6053 Remove unused argument.
6054 (eshell-handle-control-codes): Remove unused var `orig'.
6055 Avoid delete-backward-char.
6056
6057 * files.el (set-auto-mode): Simplify a bit further.
6058
6059 2013-09-11 Glenn Morris <rgm@gnu.org>
6060
6061 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6062 (set-auto-mode): Don't regexp-quote elements.
6063 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6064 * progmodes/cc-mode.el (interpreter-mode-alist):
6065 * progmodes/ruby-mode.el (interpreter-mode-alist):
6066 Revert previous change.
6067
6068 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * play/snake.el (snake-mode):
6071 * play/mpuz.el (mpuz-mode):
6072 * play/landmark.el (lm-mode):
6073 * play/blackbox.el (blackbox-mode):
6074 * play/5x5.el (5x5-mode):
6075 * obsolete/options.el (Edit-options-mode):
6076 * net/quickurl.el (quickurl-list-mode):
6077 * net/newst-treeview.el (newsticker-treeview-mode):
6078 * mail/rmailsum.el (rmail-summary-mode):
6079 * mail/mspools.el (mspools-mode):
6080 * locate.el (locate-mode):
6081 * ibuffer.el (ibuffer-mode):
6082 * emulation/ws-mode.el (wordstar-mode):
6083 * emacs-lisp/debug.el (debugger-mode):
6084 * array.el (array-mode):
6085 * net/eudc.el (eudc-mode): Use define-derived-mode.
6086 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6087 Move initialization into declaration.
6088 (mairix-searches-mode): Use define-derived-mode.
6089 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6090 (eudc-edit-hotlist): Use dolist.
6091 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6092 (Man-mode): Use define-derived-mode.
6093 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6094 (Info-edit-mode): Use define-derived-mode.
6095 (Info-cease-edit): Use Info-mode.
6096 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6097 into declaration.
6098 (eshell-mode): Use define-derived-mode.
6099 * chistory.el (command-history-mode-map): Rename from
6100 command-history-map.
6101 (command-history-mode): Use define-derived-mode.
6102 (Command-history-setup): Remove function.
6103 * calc/calc.el (calc-trail-mode-map): New var.
6104 (calc-trail-mode): Use define-derived-mode.
6105 (calc-trail-buffer): Set calc-main-buffer manually.
6106 * bookmark.el (bookmark-insert-annotation): New function.
6107 (bookmark-edit-annotation): Use it.
6108 (bookmark-edit-annotation-mode): Make it a proper major mode.
6109 (bookmark-send-edited-annotation): Use derived-mode-p.
6110 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6111 closer to its ideal place. Use \' to match EOS.
6112
6113 * profiler.el (profiler-calltree-find): Use function-equal.
6114
6115 2013-09-10 Glenn Morris <rgm@gnu.org>
6116
6117 * files.el (interpreter-mode-alist): Convert to regexps.
6118 (set-auto-mode): Adapt for this. (Bug#15306)
6119 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6120 Comment out unused variable.
6121 * progmodes/cc-mode.el (interpreter-mode-alist):
6122 * progmodes/python.el (interpreter-mode-alist):
6123 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6124 * progmodes/sh-script.el (sh-set-shell):
6125 No longer use interpreter-mode-alist to get list of shells.
6126
6127 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6128
6129 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * simple.el: Use set-temporary-overlay-map for universal-argument.
6132 (universal-argument-map): Don't use default-bindings (bug#15317).
6133 Bind switch-frame explicitly. Replace universal-argument-minus with
6134 a conditional binding.
6135 (universal-argument-num-events, saved-overriding-map): Remove.
6136 (restore-overriding-map): Remove.
6137 (universal-argument--mode): Rename from save&set-overriding-map,
6138 and rewrite.
6139 (universal-argument, universal-argument-more, negative-argument)
6140 (digit-argument): Adjust accordingly.
6141 (universal-argument-minus): Remove.
6142 (universal-argument-other-key): Remove.
6143
6144 * subr.el (with-demoted-errors): Add `format' argument.
6145
6146 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6149 `tramp-cleanup-connection'.
6150
6151 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6152 parameters KEEP-DEBUG and KEEP-PASSWORD.
6153
6154 * net/tramp.el (tramp-file-name-handler):
6155 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6156 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6157 (tramp-maybe-open-connection):
6158 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6159 Use `tramp-cleanup-connection'.
6160
6161 * net/tramp-sh.el (tramp-maybe-open-connection):
6162 Catch 'uname-changed inside the progress reporter.
6163
6164 2013-09-10 Glenn Morris <rgm@gnu.org>
6165
6166 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6167
6168 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6169 returns "alternate access method" in mode (eg "-rw-r--r--.").
6170
6171 2013-09-08 Glenn Morris <rgm@gnu.org>
6172
6173 * saveplace.el (load-save-place-alist-from-file):
6174 Demote errors. (Bug#15305)
6175
6176 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6177
6178 Improve compatibility with older Emacsen, and XEmacs.
6179
6180 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6181 only if it is bound. It isn't for XEmacs.
6182 (with-tramp-progress-reporter): Do not let-bind `result'.
6183 This yields to scoping errors in XEmacs.
6184 (tramp-handle-make-auto-save-file-name): New function, moved from
6185 tramp-sh.el.
6186
6187 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6188 for `make-auto-save-file-name'.
6189 (tramp-adb--gnu-switches-to-ash):
6190 Use `tramp-compat-replace-regexp-in-string'.
6191
6192 * net/tramp-cache.el (tramp-cache-print): Call
6193 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6194
6195 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6196 bound. It isn't for XEmacs.
6197
6198 * net/tramp-compat.el (tramp-compat-copy-file):
6199 Catch `wrong-number-of-arguments' error.
6200 (tramp-compat-replace-regexp-in-string): New defun.
6201
6202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6203 for `make-auto-save-file-name'.
6204 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6205 `copy-file'.
6206 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6207 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6208 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6209
6210 * net/tramp-gw.el (tramp-gw-open-network-stream):
6211 Use `tramp-compat-replace-regexp-in-string'.
6212
6213 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6214 Call `tramp-handle-make-auto-save-file-name'.
6215 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6216 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6217 (tramp-sh-file-inotifywait-process-filter):
6218 Use `tramp-compat-replace-regexp-in-string'.
6219 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6220
6221 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6222 for `make-auto-save-file-name'.
6223 (tramp-smb-handle-copy-directory):
6224 Call `tramp-compat-replace-regexp-in-string'.
6225 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6226 (tramp-smb-handle-copy-file): Improve error message.
6227 (tramp-smb-handle-rename-file): Rename directly only in case
6228 `newname' does not exist yet. This is a restriction of smbclient.
6229 (tramp-smb-maybe-open-connection): Rerun the function only when
6230 `auth-sources' is non-nil.
6231
6232 2013-09-08 Kenichi Handa <handa@gnu.org>
6233
6234 * international/characters.el: Set category "^" (Combining) for
6235 more characters.
6236
6237 2013-09-07 Alan Mackenzie <acm@muc.de>
6238
6239 Correctly fontify Java class constructors.
6240 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6241 in Java Mode.
6242 (c-recognize-typeless-decls): Set the Java value to t.
6243 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6244 While handling a "(", add a check for, effectively, Java, and handle a
6245 "typeless" declaration there.
6246
6247 2013-09-07 Roland Winkler <winkler@gnu.org>
6248
6249 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6250 field subtitle for entry type book.
6251
6252 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * minibuffer.el: Make minibuffer-complete call completion-in-region
6255 rather than other way around.
6256 (completion--some, completion-pcm--find-all-completions):
6257 Don't delay signals when debugging.
6258 (minibuffer-completion-contents): Beware fields within the
6259 minibuffer contents.
6260 (completion-all-sorted-completions): Use defvar-local.
6261 (completion--do-completion, completion--cache-all-sorted-completions)
6262 (completion-all-sorted-completions, minibuffer-force-complete):
6263 Add args `beg' and `end'.
6264 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6265 (minibuffer-complete): Use completion-in-region.
6266 (completion-complete-and-exit): New fun, extracted from
6267 minibuffer-complete-and-exit.
6268 (minibuffer-complete-and-exit): Use it.
6269 (completion--complete-and-exit): Rename from
6270 minibuffer--complete-and-exit.
6271 (completion-in-region--single-word): New function, extracted from
6272 minibuffer-complete-word.
6273 (minibuffer-complete-word): Use it.
6274 (display-completion-list): Make `common-substring' argument obsolete.
6275 (completion--in-region): Call completion--in-region-1 instead of
6276 minibuffer-complete.
6277 (completion-help-at-point): Pass boundaries to
6278 minibuffer-completion-help as args rather than via an overlay.
6279 (completion-pcm--string->pattern): Use `any-delim'.
6280 (completion-pcm--optimize-pattern): New function.
6281 (completion-pcm--pattern->regex): Handle `any-delim'.
6282 * icomplete.el (icomplete-forward-completions)
6283 (icomplete-backward-completions, icomplete-completions):
6284 Adjust calls to completion-all-sorted-completions and
6285 completion--cache-all-sorted-completions.
6286 (icomplete-with-completion-tables): Default to t.
6287 * emacs-lisp/crm.el (crm--current-element): Rename from
6288 crm--select-current-element. Don't put an overlay but return the
6289 boundaries instead.
6290 (crm--completion-command): Take two new args to bind to the boundaries.
6291 (crm-completion-help): Adjust accordingly.
6292 (crm-complete): Use completion-in-region.
6293 (crm-complete-word): Use completion-in-region--single-word.
6294 (crm-complete-and-exit): Use completion-complete-and-exit.
6295
6296 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6299 than dynamically.
6300
6301 2013-09-06 Juri Linkov <juri@jurta.org>
6302
6303 * info.el (Info-display-images-node): When image file doesn't exist
6304 display text version of the image if it's provided in the Info file.
6305 Otherwise, display the location of missing image from SRC attribute.
6306 Add help-echo text property from ALT attribute. (Bug#15279)
6307
6308 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6311 (edit-abbrevs-mode): Use define-derived-mode.
6312
6313 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6314 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6315 that it's defined.
6316 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6317 Use define-derived-mode.
6318
6319 * epg.el (epg-start-encrypt): Minor CSE simplification.
6320
6321 2013-09-06 William Xu <william.xwl@gmail.com>
6322
6323 * arc-mode.el: Add support for 7za (bug#15264).
6324 (archive-7z-program): New var.
6325 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6326 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6327 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6328
6329 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6330
6331 Remove URL syntax.
6332
6333 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6334 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6335 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6336 (tramp-postfix-host-format, tramp-file-name-regexp)
6337 (tramp-completion-file-name-regexp)
6338 (tramp-completion-dissect-file-name)
6339 (tramp-handle-substitute-in-file-name): Remove 'url case.
6340 (tramp-file-name-regexp-url)
6341 (tramp-completion-file-name-regexp-url): Remove constants.
6342
6343 2013-09-06 Glenn Morris <rgm@gnu.org>
6344
6345 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6346
6347 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6348
6349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6350 keywords" below "here-doc beginnings" (Bug#15270).
6351
6352 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * subr.el (pop): Use `car-safe'.
6355 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6356 to detect unused `pop' return value.
6357
6358 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6359 var `block-regexp'.
6360 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6361 (python-fill-string): Remove unused var `marker'.
6362 (python-skeleton-add-menu-items): Remove unused var `items'.
6363
6364 * international/mule-cmds.el: Require CL.
6365 (find-coding-systems-for-charsets): Avoid add-to-list.
6366 (sanitize-coding-system-list): New function, extracted from
6367 select-safe-coding-system-interactively.
6368 (select-safe-coding-system-interactively): Use it.
6369 (read-input-method-name): Accept symbols for `default'.
6370
6371 * emacs-lisp/advice.el (defadvice): Add indent rule.
6372
6373 2013-09-05 Daniel Hackney <dan@haxney.org>
6374
6375 * dired-x.el:
6376 * net/ange-ftp.el:
6377 * net/browse-url.el:
6378 * net/dbus.el:
6379 * net/eudc.el:
6380 * net/eudcb-ldap.el:
6381 * net/eww.el:
6382 * net/imap.el:
6383 * printing.el:
6384 * vc/ediff-diff.el:
6385 * vc/ediff-init.el:
6386 * vc/ediff-merg.el:
6387 * vc/ediff-mult.el:
6388 * vc/ediff-util.el:
6389 * vc/ediff-wind.el:
6390 * vc/ediff.el:
6391 * vc/emerge.el:
6392 * vc/pcvs.el:
6393 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6394 byte compiler. Remove some unused let-bound variables.
6395
6396 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6399 a "ref-cell", since it gets better optimized (bug#14883).
6400
6401 2013-09-05 Glenn Morris <rgm@gnu.org>
6402
6403 * progmodes/cc-awk.el (c-forward-sws): Declare.
6404
6405 2013-09-04 Glenn Morris <rgm@gnu.org>
6406
6407 * generic-x.el [rul-generic-mode]: Require cc-mode.
6408 (c++-mode-syntax-table): Declare.
6409 (rul-generic-mode-syntax-table): Init in the defvar.
6410
6411 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6414 (vc-do-command, vc-set-async-update):
6415 * vc/vc-mtn.el (vc-mtn-dir-status):
6416 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6417 (vc-hg-pull, vc-hg-merge-branch):
6418 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6419 (vc-git-merge-branch):
6420 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6421 (vc-cvs-dir-status-files):
6422 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6423 (vc-bzr-dir-status-files):
6424 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6425 * vc/vc-annotate.el: Use lexical-binding.
6426 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6427 (vc-sentinel-movepoint): Declare.
6428 (vc-annotate): Don't use `goto-line'.
6429 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6430 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6431 (vc-sentinel-movepoint): Declare.
6432 * vc/vc-svn.el: Use lexical-binding.
6433 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6434 * vc/vc-sccs.el:
6435 * vc/vc-rcs.el: Use lexical-binding.
6436
6437 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6438 `deleted'. Don't drop errors silently.
6439
6440 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6441
6442 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6443
6444 * vc/vc.el (vc-ignore): Rewrite.
6445 (vc-default-ignore): New function.
6446 (vc-default-ignore-completion-table): Use find-ignore-file.
6447
6448 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6449 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6450 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6451 Remove. Most code moved to vc.el.
6452
6453 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6456 * net/tramp-smb.el (tramp-smb-get-file-entries):
6457 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6458 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6459
6460 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6461 Update call to it.
6462 (eww-change-select): Remove unused var `properties'.
6463 (eww-make-unique-file-name): Remove unused var `base'.
6464
6465 * finder.el (finder-compile-keywords): Don't mess with windows.
6466
6467 * calculator.el (calculator-funcall): Fix typo in last change.
6468
6469 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6470
6471 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6472 <pkg>-autoloads.el file stop us.
6473
6474 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6475 warnings, and factor out common code.
6476
6477 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6478
6479 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6480 two-character operators and whether the character preceding them
6481 changes their meaning (Bug#15208).
6482
6483 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6484
6485 Format code sent to Python shell for robustness.
6486 * progmodes/python.el (python-shell-buffer-substring):
6487 New function.
6488 (python-shell-send-region, python-shell-send-buffer): Use it.
6489
6490 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6491
6492 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6493 * net/tramp.el (tramp-user-error): ... here.
6494 (tramp-find-method, tramp-check-proper-host)
6495 (tramp-dissect-file-name, tramp-debug-message)
6496 (tramp-handle-shell-command):
6497 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6499
6500 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6501
6502 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6503
6504 * avoid.el (mouse-avoidance-point-position)
6505 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6506 returns nil.
6507
6508 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6509
6510 * progmodes/python.el (python-shell-completion-get-completions):
6511 Drop use of deleted `comint-last-prompt-overlay'.
6512 (python-nav-if-name-main): New command.
6513
6514 2013-09-01 Glenn Morris <rgm@gnu.org>
6515
6516 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6517 Avoid leading space in $wins. Otherwise the sed command used by
6518 eg compile-main ends up containing "/*.el". (Bug#15170)
6519
6520 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6521
6522 2013-08-30 Glenn Morris <rgm@gnu.org>
6523
6524 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6525 Fix is-this-a-directory logic. (Bug#15220)
6526
6527 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * textmodes/css-mode.el: Use SMIE.
6530 (css-smie-grammar): New var.
6531 (css-smie--forward-token, css-smie--backward-token)
6532 (css-smie-rules): New functions.
6533 (css-mode): Use them.
6534 (css-navigation-syntax-table): Remove var.
6535 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6536 (css-indent-calculate, css-indent-line): Remove functions.
6537
6538 Misc changes to reduce use of `(lambda...); and other cleanups.
6539 * cus-edit.el: Use lexical-binding.
6540 (customize-push-and-save, customize-apropos)
6541 (custom-buffer-create-internal): Use closures.
6542 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6543 * progmodes/ada-xref.el: Use setq.
6544 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6545 * dframe.el: Use lexical-binding.
6546 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6547 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6548 * descr-text.el: Use lexical-binding.
6549 (describe-text-widget, describe-text-sexp, describe-property-list):
6550 Use closures.
6551 * comint.el (comint-history-isearch-push-state): Use a closure.
6552 * calculator.el: Use lexical-binding.
6553 (calculator-number-to-string): Make it work with lexical-binding.
6554 (calculator-funcall): Same and use cl-letf.
6555
6556 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6557 (lisp--company-doc-string, lisp--company-location): New functions.
6558 (lisp-completion-at-point): Use them to improve Company support.
6559
6560 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6561 params of lambda expressions.
6562 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6563 (ruby-smie--opening-pipe-p): New function.
6564 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6565 symbols and matched |...| for formal params.
6566 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6567 from being treated as hanging. Handle "rescue".
6568
6569 2013-08-29 Glenn Morris <rgm@gnu.org>
6570
6571 * progmodes/cc-engine.el (c-pull-open-brace):
6572 Move definition before use.
6573
6574 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6577 are immutable. Don't use `unsafe' any more.
6578 (cl--defsubst-expand): Don't substitute at the same time as keeping
6579 a residual unused let-binding. Don't use `unsafe' any more.
6580
6581 2013-08-29 Glenn Morris <rgm@gnu.org>
6582
6583 * calendar/cal-china.el (calendar-chinese-year-cache):
6584 Recenter on 2015.
6585
6586 * nxml/nxml-util.el (nxml-debug-clear-inside):
6587 Use cl-loop rather than loop.
6588
6589 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6590
6591 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6592
6593 2013-08-28 Glenn Morris <rgm@gnu.org>
6594
6595 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6596
6597 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6598
6599 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6600
6601 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * simple.el (repeat-complex-command--called-interactively-skip):
6604 New function.
6605 (repeat-complex-command): Use it (bug#14136).
6606
6607 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6608 (c-define-abbrev-table): Add `doc' argument.
6609 (c-mode-abbrev-table, c++-mode-abbrev-table)
6610 (objc-mode-abbrev-table, java-mode-abbrev-table)
6611 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6612 (awk-mode-abbrev-table): Use it.
6613 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6614 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6615 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6616 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6617 Move initialization into the declaration; and remove any
6618 autoload cookie.
6619
6620 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6621 and dynamic let binding.
6622
6623 * vc/smerge-mode.el: Remove redundant :group args.
6624
6625 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6626 to load-path.
6627
6628 2013-08-28 Juri Linkov <juri@jurta.org>
6629
6630 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6631 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6632 (isearch-other-meta-char): Handle an undefined shifted printing
6633 character by downshifting it. (Bug#15200)
6634
6635 2013-08-28 Juri Linkov <juri@jurta.org>
6636
6637 * isearch.el (isearch-search): Change regexp error message for
6638 non-regexp searches. (Bug#15166)
6639
6640 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6641
6642 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6643 for portability to hosts where /bin/sh has problems.
6644
6645 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6648
6649 2013-08-27 Juri Linkov <juri@jurta.org>
6650
6651 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6652 in the keyboard macro. (Bug#15126)
6653
6654 2013-08-27 Juri Linkov <juri@jurta.org>
6655
6656 * isearch.el (isearch-quote-char): Comment out converting unibyte
6657 to multibyte, thus syncing with its `quoted-insert' counterpart.
6658 (Bug#15166)
6659
6660 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6661
6662 * window.el (display-buffer-use-some-window): Add missing
6663 argument in call of get-largest-window (Bug#15185).
6664 Reported by Stephen Leake.
6665
6666 2013-08-27 Glenn Morris <rgm@gnu.org>
6667
6668 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6669
6670 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6673 from a matcher-function unless there's no more matches (bug#15161).
6674
6675 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * minibuffer.el: Revert change from 2013-08-20.
6678
6679 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6680 with text property `tramp-default', if appropriate.
6681 (tramp-check-proper-host): New defun.
6682 (tramp-dissect-file-name): Do not check hostname. Revert change
6683 of 2013-03-18.
6684 (tramp-backtrace): Make VEC-OR-PROC optional.
6685
6686 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6687 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6688 * net/tramp-sh.el (tramp-maybe-open-connection):
6689 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6690 Apply `tramp-check-proper-host'.
6691
6692 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6693
6694 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6695 lambda expression in order to have `describe-variable' display it.
6696
6697 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6700 BUF can be optional. (Bug#15186)
6701
6702 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6703
6704 * progmodes/flymake.el (flymake-get-real-file-name-function):
6705 Fix broken customization. (Bug#15184)
6706
6707 2013-08-25 Alan Mackenzie <acm@muc.de>
6708
6709 Improve indentation of bracelists defined by macros (without "=").
6710
6711 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6712 expansion begins with "{", regard it as bracelist when it doesn't
6713 contain a ";".
6714
6715 Parse C++ inher-intro when there's a template split over 2 lines.
6716
6717 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6718 rigorously the search for "class" etc. followed by ":".
6719
6720 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6721 random languages a regexp which never matches rather than nil.
6722
6723 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6724
6725 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6726 (c-awk-regexp-one-line-possibly-open-char-list-re)
6727 (c-awk-one-line-possibly-open-regexp-re)
6728 (c-awk-one-line-non-syn-ws*-re): Remove.
6729 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6730 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6731 (c-awk-space*-unclosed-regexp-/-re): New constants.
6732 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6733 aren't regexp delimiters.
6734
6735 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6736 handling for a rare situation in AWK Mode involving unterminated
6737 strings/regexps.
6738
6739 2013-08-23 Glenn Morris <rgm@gnu.org>
6740
6741 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6742
6743 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6744
6745 * files.el (create-file-buffer): If the result would begin with
6746 spaces, prepend a "|" instead of removing them. (Bug#15162)
6747
6748 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6751 text-properties (bug#15155).
6752
6753 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6754 exist any more.
6755 (calc-keypad-redraw): Remove unused var `pad'.
6756 (calc-keypad-press): Remove unused var `menu'.
6757
6758 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6759
6760 * window.el (display-buffer-pop-up-frame):
6761 Call pop-up-frame-function with BUFFER current so `make-frame' will
6762 use it as the new frame's buffer (Bug#15133).
6763
6764 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * calendar/timeclock.el: Minor cleanups.
6767 (timeclock-ask-before-exiting, timeclock-use-display-time):
6768 Use `symbol'.
6769 (timeclock-modeline-display): Define as alias before the
6770 actual definition.
6771 (timeclock-mode-line-display): Use define-minor-mode.
6772 (timeclock-day-list-template): Make it a function, add an argument.
6773 (timeclock-day-list-required, timeclock-day-list-length)
6774 (timeclock-day-list-debt, timeclock-day-list-span)
6775 (timeclock-day-list-break): Adjust calls accordingly.
6776
6777 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6780 Use read--expression so that completion works again.
6781
6782 2013-08-21 Sam Steingold <sds@gnu.org>
6783
6784 Add rudimentary inferior shell interaction
6785 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6786 (sh-set-shell): Reset it.
6787 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6788 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6789
6790 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * align.el: Use lexical-binding.
6793 (align-region): Simplify accordingly.
6794
6795 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6796
6797 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6798
6799 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6800 `non-essential' up.
6801
6802 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6803
6804 * net/tramp.el:
6805 * net/tramp-adb.el:
6806 * net/tramp-cmds.el:
6807 * net/tramp-ftp.el:
6808 * net/tramp-gvfs.el:
6809 * net/tramp-gw.el:
6810 * net/tramp-sh.el: Don't wrap external variable declarations by
6811 `eval-when-compile'.
6812
6813 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6814
6815 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6816 now that Emacs supports ImageMagick animations.
6817
6818 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6819
6820 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6821 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6822
6823 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6824
6825 * window.el (mouse-autoselect-window-select): Do autoselect when
6826 mouse pointer is on margin.
6827
6828 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6829
6830 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6831
6832 2013-08-16 Glenn Morris <rgm@gnu.org>
6833
6834 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6835 Handle "Remote Directory" response of some clients. (Bug#15058)
6836
6837 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6838 Tweak warning. (Bug#14926)
6839
6840 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6841 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6842
6843 * image-mode.el (image-mode-map): Add menu items to reverse,
6844 increase, decrease, reset animation speed.
6845 (image--set-speed, image-increase-speed, image-decrease-speed)
6846 (image-reverse-speed, image-reset-speed): New functions.
6847 (image-mode-map): Add bindings for speed commands.
6848
6849 * image.el (image-animate-get-speed, image-animate-set-speed):
6850 New functions.
6851 (image-animate-timeout): Respect image :speed property.
6852
6853 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6856 previous line (bug#15101).
6857 (debugger-eval-expression, debugger-record-expression):
6858 Use read--expression (bug#15102).
6859
6860 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6861
6862 Remove byte compiler warnings, visible when compiling with
6863 `byte-compile-force-lexical-warnings' set to t.
6864
6865 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6866 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6867 (tramp-handle-unhandled-file-name-directory)
6868 (tramp-handle-file-notify-add-watch, tramp-action-login)
6869 (tramp-action-succeed, tramp-action-permission-denied)
6870 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6871 arguments with "_".
6872
6873 * net/tramp-adb.el (tramp-adb-parse-device-names)
6874 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6875 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6876 (tramp-adb-handle-file-truename): Remove unused arguments.
6877
6878 * net/tramp-cache.el (tramp-flush-directory-property)
6879 (tramp-flush-connection-property, tramp-list-connections)
6880 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6881
6882 * net/tramp-compat.el (tramp-compat-make-temp-file):
6883 Rename FILENAME to F.
6884
6885 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6886 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6887 (tramp-zeroconf-parse-workstation-device-names)
6888 (tramp-zeroconf-parse-webdav-device-names)
6889 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6890
6891 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6892 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6893
6894 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6895 arguments.
6896 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6897 (tramp-sh-handle-insert-file-contents-literally)
6898 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6899 with "_".
6900 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6901 Remove unused variables.
6902
6903 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6904 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6905 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6906
6907 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6908 Make them a defconst.
6909 (tramp-uuencode-region): Remove unused variable.
6910
6911 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6912
6913 * frameset.el (frameset--prop-setter): New function.
6914 (frameset-prop): Add gv-setter declaration.
6915 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6916 parameter was already set in FILTERED. Doc fix.
6917 (frameset--record-minibuffer-relationships): Allow saving a
6918 minibufferless frame without its corresponding minibuffer frame.
6919 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6920 frame, if the frame id matches.
6921 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6922 frames before orphaned ones.
6923 (frameset-restore): Warn about orphaned windows, instead of error out.
6924
6925 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6926
6927 * window.el (window-make-atom): Don't overwrite parameter
6928 already present.
6929 (display-buffer-in-atom-window): Handle special case where we
6930 split an already atomic window.
6931 (window--major-non-side-window, display-buffer-in-side-window)
6932 (window--side-check): Ignore minibuffer window when walking
6933 window tree.
6934 (window-deletable-p): Return 'frame only if no other frame uses
6935 our minibuffer window.
6936 (record-window-buffer): Run buffer-list-update-hook.
6937 (split-window): Make sure window--check-frame won't destroy an
6938 existing atomic window in case the new window gets nested
6939 inside.
6940 (display-buffer-at-bottom): Ignore minibuffer window when
6941 walking window tree. Don't split a side window.
6942 (pop-to-buffer): Don't set-buffer here, the select-window call
6943 should do that.
6944 (mouse-autoselect-window-select): Autoselect only if we are in the
6945 text portion of the window.
6946
6947 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6948
6949 * net/shr.el (shr-parse-image-data): New function to grab both the
6950 data itself and the Content-Type.
6951 (shr-put-image): Use it.
6952
6953 * net/eww.el (eww-display-image): Ditto.
6954
6955 * image.el (image-content-type-suffixes): New variable.
6956
6957 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6958
6959 * progmodes/python.el (python-imenu--build-tree)
6960 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6961
6962 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6963
6964 * simple.el (backward-word): Mention the optional argument.
6965
6966 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * frameset.el (frameset--make): Rename constructor from make-frameset.
6969 (frameset-p, frameset-valid-p): Don't autoload.
6970 (frameset-valid-p): Use normal accessors.
6971
6972 2013-08-13 Glenn Morris <rgm@gnu.org>
6973
6974 * progmodes/compile.el (compile-command): Tweak example in doc.
6975 * obsolete/scribe.el (scribe-mode):
6976 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6977
6978 * mail/feedmail.el (feedmail-confirm-outgoing)
6979 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6980
6981 * cus-start.el (truncate-partial-width-windows): Fix type.
6982
6983 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6984
6985 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6986
6987 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * emacs-lisp/timer.el (timer--time-setter): New function.
6990 (timer--time): Use it as gv-setter.
6991
6992 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6993 setter is not a symbol.
6994
6995 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6996
6997 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6998 if sending fails. This makes debugging easier.
6999
7000 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7001
7002 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7003 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7004 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7005
7006 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7007
7008 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7009
7010 2013-08-12 Glenn Morris <rgm@gnu.org>
7011
7012 * format.el (format-annotate-function):
7013 Handle read-only text properties in the source. (Bug#14887)
7014
7015 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7016
7017 * net/eww.el (eww-display-html): Ignore coding system errors.
7018 One web site uses "utf-8lias" as the coding system.
7019
7020 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7021
7022 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7023
7024 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7027 (tutorial--detailed-help): Remove unused local variables.
7028 (tutorial--save-tutorial-to): Use ignore-errors.
7029 (help-with-tutorial): Use looking-at-p.
7030
7031 * view.el (view-buffer-other-window, view-buffer-other-frame):
7032 Mark unused arguments.
7033
7034 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7035 (woman-select-symbol-fonts, woman, woman-find-file)
7036 (woman-insert-file-contents, woman-non-underline-faces):
7037 Use string-match-p.
7038 (woman1-unquote): Move declaration.
7039
7040 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7041 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7042 argument. Remove unused local variable.
7043 (xml-parse-elem-type): Use string-match-p.
7044 (xml-substitute-numeric-entities): Use ignore-errors.
7045
7046 * calculator.el (calculator): Mark unused argument.
7047 (calculator-paste, calculator-quit, calculator-integer-p):
7048 Use ignore-errors.
7049 (calculator-string-to-number, calculator-decimal, calculator-exp)
7050 (calculator-op-or-exp): Use string-match-p.
7051
7052 * dired.el (dired-buffer-more-recently-used-p): Declare.
7053 (dired-insert-set-properties, dired-insert-old-subdirs):
7054 Use ignore-errors.
7055
7056 * dired-aux.el (dired-compress): Use ignore-errors.
7057 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7058 (dired-do-async-shell-command, dired-do-shell-command)
7059 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7060 (dired-insert-subdir-validate): Use string-match-p.
7061 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7062 (dired-add-entry): Use string-match-p, looking-at-p.
7063 (dired-insert-subdir-newpos): Remove unused local variable.
7064
7065 * filenotify.el (file-notify-callback): Remove unused local variable.
7066
7067 * filesets.el (filesets-error): Mark unused argument.
7068 (filesets-which-command-p, filesets-filter-dir-names)
7069 (filesets-directory-files, filesets-get-external-viewer)
7070 (filesets-ingroup-get-data): Use string-match-p.
7071
7072 * find-file.el (ff-other-file-name, ff-other-file-name)
7073 (ff-find-the-other-file, ff-cc-hh-converter):
7074 Remove unused local variables.
7075 (ff-get-file-name): Use string-match-p.
7076 (ff-all-dirs-under): Use ignore-errors.
7077
7078 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7079 (follow-select-if-visible): Remove unused local variable.
7080
7081 * forms.el (read-file-filter): Move declaration.
7082 (forms--make-format, forms--make-parser, forms-insert-record):
7083 Quote function with #'.
7084 (forms--update): Use string-match-p. Quote function with #'.
7085
7086 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7087 (help-make-xrefs): Use looking-at-p.
7088 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7089
7090 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7091 (ibuffer-confirm-operation-on): Use string-match-p.
7092
7093 * msb.el (msb-item-handler, msb-dired-item-handler):
7094 Mark unused arguments.
7095
7096 * ses.el (ses-decode-cell-symbol)
7097 (ses-kill-override): Remove unused local variable.
7098 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7099 (ses-load): Use ignore-errors, looking-at-p.
7100 (ses-jump-safe): Use ignore-errors.
7101 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7102
7103 * tabify.el (untabify, tabify): Mark unused arguments.
7104
7105 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7106 Mark unused argument.
7107 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7108 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7109
7110 * emacs-lisp/timer.el (timer--time): Define setter with
7111 gv-define-setter to avoid deprecation warning.
7112
7113 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7114 (*record-cmpl-statistics-p*): Remove (was commented out).
7115 (cmpl-statistics-block): Remove (body was commented out).
7116 All callers changed.
7117 (add-completions-from-buffer, load-completions-from-file):
7118 Remove unused variables.
7119
7120 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7121
7122 * filecache.el (file-cache-delete-file-list):
7123 Print message only when told so.
7124 (file-cache-files-matching): Use #' in mapconcat argument.
7125
7126 * ffap.el (ffap-url-at-point): Fix reference to variable
7127 thing-at-point-default-mail-uri-scheme.
7128
7129 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * subr.el (define-error): New function.
7132 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7133 error-file-not-found and define with define-error.
7134 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7135 and define with define-error.
7136 * userlock.el (file-locked, file-supersession):
7137 * simple.el (mark-inactive):
7138 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7139 * progmodes/ada-mode.el (ada-mode-errors):
7140 * play/life.el (life-extinct):
7141 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7142 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7143 * nxml/rng-util.el (rng-error):
7144 * nxml/rng-uri.el (rng-uri-error):
7145 * nxml/rng-match.el (rng-compile-error):
7146 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7147 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7148 * nxml/nxml-rap.el (nxml-scan-error):
7149 * nxml/nxml-outln.el (nxml-outline-error):
7150 * net/soap-client.el (soap-error):
7151 * net/gnutls.el (gnutls-error):
7152 * net/ange-ftp.el (ftp-error):
7153 * mpc.el (mpc-proc-error):
7154 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7155 (json-number-format, json-string-escape, json-string-format)
7156 (json-key-format, json-object-format):
7157 * jka-compr.el (compression-error):
7158 * international/quail.el (quail-error):
7159 * international/kkc.el (kkc-error):
7160 * emacs-lisp/ert.el (ert-test-failed):
7161 * calc/calc.el (calc-error, inexact-result, math-overflow)
7162 (math-underflow):
7163 * bookmark.el (bookmark-error-no-filename):
7164 * epg.el (epg-error): Define with define-error.
7165
7166 * time.el (display-time-event-handler)
7167 (display-time-next-load-average): Don't call sit-for since it seems
7168 unnecessary (bug#15045).
7169
7170 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7171 Use #' instead of ' to quote functions.
7172 (checkdoc-output-mode): Use setq-local.
7173 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7174 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7175 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7176 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7177 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7178 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7179 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7180 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7181
7182 * ido.el (ido-completion-help): Fix up compiler warning.
7183
7184 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7185
7186 * frameset.el (frameset-p): Add autoload cookie.
7187 (frameset--jump-to-register): New function, based on code moved from
7188 register.el.
7189 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7190
7191 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7192 (frameset-restore, frameset-save, frameset-session-filter-alist):
7193 Remove declarations.
7194 (register-alist): Doc fix.
7195 (frameset-to-register): Move to frameset.el.
7196 (jump-to-register, describe-register-1): Remove frameset-specific code.
7197
7198 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * allout-widgets.el (allout-widgets-pre-command-business)
7201 (allout-widgets-post-command-business)
7202 (allout-widgets-after-change-handler)
7203 (allout-decorate-item-and-context, allout-set-boundary-marker)
7204 (allout-body-modification-handler)
7205 (allout-graphics-modification-handler): Mark ignored arguments.
7206 (allout-widgets-post-command-business)
7207 (allout-widgets-exposure-change-processor)
7208 (allout-widgets-exposure-undo-processor)
7209 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7210 (allout-parse-item-at-point, allout-decorate-item-guides)
7211 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7212 * allout.el (epa-passphrase-callback-function): Declare.
7213 (allout-overlay-insert-in-front-handler)
7214 (allout-overlay-interior-modification-handler)
7215 (allout-isearch-end-handler, allout-chart-siblings)
7216 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7217 (allout-yank-processing, allout-process-exposed)
7218 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7219 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7220 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7221 (lisp-indent-defform): Mark ignored arguments.
7222 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7223 (calculate-lisp-indent): Remove unused variables.
7224 * international/characters.el (indian-2-column, arabic-2-column)
7225 (tibetan): Mark ignored arguments.
7226 (use-cjk-char-width-table): Mark ignored arguments.
7227 Remove unused variables.
7228 * international/fontset.el (build-default-fontset-data)
7229 (x-compose-font-name, create-fontset-from-fontset-spec):
7230 Mark ignored arguments.
7231 (fontset-plain-name): Remove unused variables.
7232 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7233 (keyboard-coding-system): Mark ignored arguments.
7234 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7235 * help.el (resize-temp-buffer-window):
7236 * window.el (display-buffer-in-major-side-window)
7237 (display-buffer-in-side-window, display-buffer-in-previous-window):
7238 Remove unused variables.
7239 * isearch.el (isearch-forward-symbol):
7240 * version.el (emacs-bzr-version-bzr):
7241 * international/mule-cmds.el (current-language-environment):
7242 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7243 (x-handle-display):
7244 * term/pc-win.el (x-list-fonts, x-display-planes)
7245 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7246 (x-server-version, x-display-screens, x-display-mm-height)
7247 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7248 (x-selection-owner-p, x-own-selection-internal)
7249 (x-disown-selection-internal, x-get-selection-internal)
7250 (msdos-initialize-window-system):
7251 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7252 * term/x-win.el (x-handle-no-bitmap-icon):
7253 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7254 (vc-default-find-file-hook, vc-default-extra-menu):
7255 Mark ignored arguments.
7256
7257 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7260 break-condition in the context of the debugged code (bug#12685).
7261
7262 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7263
7264 * comint.el:
7265 Do not use an overlay to highlight the last prompt. (Bug#14744)
7266 (comint-mode): Make comint-last-prompt buffer local.
7267 (comint-last-prompt): New variable.
7268 (comint-last-prompt-overlay): Remove. Superseded by
7269 comint-last-prompt.
7270 (comint-snapshot-last-prompt, comint-output-filter):
7271 Use comint-last-prompt.
7272
7273 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7274
7275 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7276 (frameset-save): Check validity of the resulting frameset.
7277
7278 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7279
7280 * ido.el (ido-record-command): Add doc string.
7281
7282 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7283
7284 * frameset.el (frameset): Do not disable creation of the default
7285 frameset-p predicate. Doc fix.
7286 (frameset-valid-p): New function, copied from the old predicate-p.
7287 Add additional checks.
7288 (frameset-restore): Check with frameset-valid-p.
7289 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7290 (frameset-name, frameset-description, frameset-properties)
7291 (frameset-states): Add docstring.
7292 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7293 (frameset-filter-alist): Doc fixes.
7294
7295 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7296
7297 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7298
7299 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7302 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7303 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7304 (byte-compile-normal-call): Remove obsolescence check.
7305
7306 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * frameset.el (frameset-restore): Doc fix.
7309
7310 * register.el (frameset-frame-id, frameset-frame-with-id)
7311 (frameset-p, frameset-restore, frameset-save): Declare.
7312 (register-alist): Document framesets.
7313 (frameset-session-filter-alist): Declare.
7314 (frameset-to-register): New function.
7315 (jump-to-register): Implement jumping to framesets. Doc fix.
7316 (describe-register-1): Describe framesets.
7317
7318 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7319
7320 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7321
7322 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7323 Use lexical-binding.
7324
7325 * frameset.el (frameset): Use type vector, not list (incompatible
7326 change). Do not declare a new constructor, use the default one.
7327 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7328 `name' and `description', respectively, and add read-only slot
7329 `timestamp'. Doc fixes.
7330 (frameset-copy, frameset-persistent-filter-alist)
7331 (frameset-filter-alist, frameset-switch-to-gui-p)
7332 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7333 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7334 (frameset-filter-iconified, frameset-keep-original-display-p):
7335 Doc fixes.
7336 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7337 Rename from frameset-filter-(save|restore)-param. All callers changed.
7338 Doc fix.
7339 (frameset-p): Adapt to change to vector and be more thorough.
7340 Change arg name to OBJECT. Doc fix.
7341 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7342 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7343 All callers changed.
7344 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7345 All callers changed.
7346 (frameset--record-minibuffer-relationships): Rename from
7347 frameset--process-minibuffer-frames. All callers changed.
7348 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7349 Use new default constructor (again). Doc fix.
7350 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7351 All callers changed.
7352 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7353 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7354 Doc fix.
7355 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7356 PARAMETERS and WINDOW-STATE, respectively.
7357 (frameset-restore): Add new keyword argument PREDICATE.
7358 Reset frameset--target-display to nil. Doc fix.
7359
7360 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7363 (bat-mode): Use it.
7364 (bat-mode-syntax-table): Mark \n as end-of-comment.
7365 (bat-font-lock-keywords): Remove comment rule.
7366
7367 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7368 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7369
7370 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7371 (byte-compile-callargs-warn): Use `push'.
7372 (byte-compile-arglist-warn): Ignore higher-order "calls".
7373 (byte-compile-file-form-autoload): Use `pcase'.
7374 (byte-compile-function-form): If quoting a symbol, check that it exists.
7375
7376 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7377
7378 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7379 and add a few popular commands found in batch files.
7380 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7381 (dos-mode): Doc fixes.
7382
7383 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7386 (dos-mode): Use setq-local. Add space after "rem".
7387 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7388 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7389
7390 2013-08-07 Arni Magnusson <arnima@hafro.is>
7391
7392 * progmodes/dos.el: New file.
7393 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7394 dos-mode.
7395
7396 2013-08-06 Glenn Morris <rgm@gnu.org>
7397
7398 * calendar/calendar.el: Add new faces, and day-header-array.
7399 (calendar-weekday-header, calendar-weekend-header)
7400 (calendar-month-header): New faces.
7401 (calendar-day-header-construct): New function.
7402 (calendar-day-header-width): Also :set calendar-day-header-array.
7403 (calendar-american-month-header, calendar-european-month-header)
7404 (calendar-iso-month-header): Use calendar- faces.
7405 (calendar-generate-month):
7406 Use calendar-day-header-array for day headers; apply faces to them.
7407 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7408 (calendar-abbrev-construct): Add optional maxlen argument.
7409 (calendar-day-name-array): Doc fix.
7410 (calendar-day-name-array, calendar-abbrev-length)
7411 (calendar-day-abbrev-array):
7412 Also :set calendar-day-header-array, and maybe redraw.
7413 (calendar-day-header-array): New option. (Bug#15007)
7414 (calendar-font-lock-keywords): Set to nil and make obsolete.
7415 (calendar-day-name): Add option to use header array.
7416
7417 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7418
7419 * net/shr.el (shr-render-td): Remove debugging.
7420 (shr-render-td): Make width computation consistent by defaulting
7421 all zero-width columns to 10 characters. This may not be optimal,
7422 but it's at least consistent.
7423 (shr-make-table-1): Redo last change to fix the real problem in
7424 colspan handling.
7425
7426 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7427
7428 * files.el (cache-long-line-scans):
7429 Make obsolete alias to `cache-long-scans'.
7430
7431 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * frameset.el (frameset, frameset-filter-alist)
7434 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7435 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7436 (frameset-compute-pos): Rename from frameset--compute-pos,
7437 and add docstring.
7438 (frameset-move-onscreen): Use frameset-compute-pos.
7439 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7440
7441 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7442 Fix typos in docstrings.
7443
7444 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7445
7446 * frame.el (get-other-frame): Tiny cleanup.
7447
7448 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7449
7450 * vc/vc.el (vc-default-ignore-completion-table):
7451 Silence byte-compiler warning.
7452
7453 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7454 slot, which can indeed be nil.
7455 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7456 Move entry for `left' from persistent to live filter alist.
7457 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7458 Doc fixes.
7459 (frameset-filter-params): When restoring a frame, copy items added to
7460 `filtered', to avoid unwittingly modifying the original parameters.
7461 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7462 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7463
7464 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7465 to use looking-at-p instead of looking-at. (Bug#15028)
7466
7467 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 Revert introduction of isearch-filter-predicates (bug#14714).
7470 Rely on add-function instead.
7471 * isearch.el (isearch-filter-predicates): Rename it back to
7472 isearch-filter-predicate.
7473 (isearch-message-prefix): Use advice-function-mapc and advice
7474 properties to get the isearch-message-prefix.
7475 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7476 instead of run-hook-with-args-until-failure.
7477 (isearch-filter-visible): Not obsolete any more.
7478 * loadup.el: Preload nadvice.
7479 * replace.el (perform-replace): Revert to funcall
7480 instead of run-hook-with-args-until-failure.
7481 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7482 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7483 dired-isearch-filenames-toggle; make it into a proper minor mode.
7484 Use add/remove-function.
7485 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7486 Call the minor-mode rather than add/remove-hook.
7487 (dired-isearch-filter-filenames):
7488 Remove isearch-message-prefix property.
7489 * info.el (Info--search-loop): New function, extracted from Info-search.
7490 Funcall isearch-filter-predicate instead of
7491 run-hook-with-args-until-failure isearch-filter-predicates.
7492 (Info-search): Use it.
7493 (Info-mode): Use isearch-filter-predicate instead of
7494 isearch-filter-predicates.
7495
7496 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7497
7498 Do not call to `selected-window' where it is assumed by default.
7499 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7500 `window-hscroll', `window-width', `window-height', `window-buffer',
7501 `window-frame', `window-start', `window-point', `next-window'
7502 and `window-display-table'.
7503 * abbrev.el (abbrev--default-expand):
7504 * bs.el (bs--show-with-configuration):
7505 * buff-menu.el (Buffer-menu-mouse-select):
7506 * calc/calc.el (calc):
7507 * calendar/calendar.el (calendar-generate-window):
7508 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7509 (diary-make-entry):
7510 * comint.el (send-invisible, comint-dynamic-complete-filename)
7511 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7512 * completion.el (complete):
7513 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7514 * disp-table.el (describe-current-display-table):
7515 * doc-view.el (doc-view-insert-image):
7516 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7517 * ehelp.el (with-electric-help):
7518 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7519 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7520 * emacs-lisp/helper.el (Helper-help-scroller):
7521 * emulation/cua-base.el (cua--post-command-handler-1):
7522 * eshell/esh-mode.el (eshell-output-filter):
7523 * ffap.el (ffap-gnus-wrapper):
7524 * help-macro.el (make-help-screen):
7525 * hilit-chg.el (highlight-compare-buffers):
7526 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7527 * hl-line.el (global-hl-line-highlight):
7528 * icomplete.el (icomplete-simple-completing-p):
7529 * isearch.el (isearch-done):
7530 * jit-lock.el (jit-lock-stealth-fontify):
7531 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7532 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7533 * mpc.el (mpc-tagbrowser, mpc):
7534 * net/rcirc.el (rcirc-any-buffer):
7535 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7536 * play/landmark.el (landmark-max-width, landmark-max-height):
7537 * play/zone.el (zone):
7538 * progmodes/compile.el (compilation-goto-locus):
7539 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7540 * progmodes/etags.el (find-tag-other-window):
7541 * progmodes/fortran.el (fortran-column-ruler):
7542 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7543 * progmodes/verilog-mode.el (verilog-point-text):
7544 * reposition.el (reposition-window):
7545 * rot13.el (toggle-rot13-mode):
7546 * server.el (server-switch-buffer):
7547 * shell.el (shell-dynamic-complete-command)
7548 (shell-dynamic-complete-environment-variable):
7549 * simple.el (insert-buffer, set-selective-display)
7550 (delete-completion-window):
7551 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7552 (speedbar-recenter):
7553 * startup.el (fancy-splash-head):
7554 * textmodes/ispell.el (ispell-command-loop):
7555 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7556 * tutorial.el (help-with-tutorial):
7557 * vc/add-log.el (add-change-log-entry):
7558 * vc/compare-w.el (compare-windows):
7559 * vc/ediff-help.el (ediff-indent-help-message):
7560 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7561 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7562 (ediff-setup-control-frame):
7563 * vc/emerge.el (emerge-position-region):
7564 * vc/pcvs-util.el (cvs-bury-buffer):
7565 * window.el (walk-windows, mouse-autoselect-window-select):
7566 * winner.el (winner-set-conf, winner-undo): Related users changed.
7567
7568 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7569
7570 * frameset.el (frameset--set-id): Doc fix.
7571 (frameset-frame-id, frameset-frame-id-equal-p)
7572 (frameset-locate-frame-id): New functions.
7573 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7574 (frameset-restore): Use them.
7575
7576 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7577
7578 Do not call to `selected-frame' where it is assumed by default.
7579 Affected functions are `raise-frame', `redraw-frame',
7580 `frame-first-window', `frame-terminal' and `delete-frame'.
7581 * calendar/appt.el (appt-disp-window):
7582 * epg.el (epg-wait-for-completion):
7583 * follow.el (follow-delete-other-windows-and-split)
7584 (follow-avoid-tail-recenter):
7585 * international/mule.el (set-terminal-coding-system):
7586 * mail/rmail.el (rmail-mail-return):
7587 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7588 * progmodes/f90.el (f90-add-imenu-menu):
7589 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7590 * server.el (server-switch-buffer):
7591 * simple.el (delete-completion-window):
7592 * talk.el (talk):
7593 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7594 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7595 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7596 * vc/ediff.el (ediff-documentation): Related users changed.
7597 * frame.el (selected-terminal): Remove the leftover.
7598
7599 2013-08-05 Glenn Morris <rgm@gnu.org>
7600
7601 * calendar/calendar.el (calendar-generate-month):
7602 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7603 (calendar-generate-month, calendar-font-lock-keywords):
7604 Fix for calendar-day-header-width > length of any day name.
7605
7606 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7607
7608 * desktop.el (desktop-clear): Use new name of sort predicate.
7609
7610 * frameset.el (frameset): Add docstring. Move :version property to its
7611 own `version' slot.
7612 (frameset-copy): Rename from copy-frameset.
7613 (frameset-p): Check more thoroughly.
7614 (frameset-prop): Do not check for :version, which is no longer a prop.
7615 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7616 Use new :never value instead of t.
7617 (frameset-filter-alist): Expand and clarify docstring.
7618 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7619 (frameset-filter-minibuffer, frameset-filter-save-param)
7620 (frameset-filter-restore-param, frameset-filter-iconified):
7621 Add pointer to docstring of frameset-filter-alist.
7622 (frameset-filter-params): Rename filter values to be more meaningful:
7623 :never instead of t, and reverse the meanings of :save and :restore.
7624 (frameset--process-minibuffer-frames): Clarify error message.
7625 (frameset-save): Avoid unnecessary and confusing call to framep.
7626 Use new BOA constructor for framesets.
7627 (frameset--reuse-list): Doc fix.
7628 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7629 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7630 (frameset-minibufferless-first-p): Doc fix.
7631 Rename from frameset-sort-frames-for-deletion.
7632 (frameset-restore): Doc fixes. Use new function names.
7633 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7634
7635 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7636
7637 * desktop.el (desktop-restore-forces-onscreen)
7638 (desktop-restore-reuses-frames): Document :keyword constant values.
7639 (desktop-filter-parameters-alist): Remove, now identical to
7640 frameset-filter-alist.
7641 (desktop--filter-tty*): Remove, moved to frameset.el.
7642 (desktop-save-frameset, desktop-restore-frameset):
7643 Do not pass :filters argument.
7644
7645 * frameset.el (frameset-live-filter-alist)
7646 (frameset-persistent-filter-alist): New variables.
7647 (frameset-filter-alist): Use them. Add autoload cookie.
7648 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7649 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7650 `frameset--id' (it's supposed to be internal to frameset.el).
7651 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7652 (frameset--initial-params): New function.
7653 (frameset--get-frame): Use it. Doc fix.
7654 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7655 Accept :all, not 'all.
7656 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7657 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7658 with fbound symbols. Fix frame id matching, and remove matching ids if
7659 the frame being restored is deleted. Obey :delete.
7660
7661 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * subr.el (macrop): New function.
7664 (text-clone--maintaining): New var.
7665 (text-clone--maintain): Rename from text-clone-maintain. Use it
7666 instead of inhibit-modification-hooks.
7667
7668 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7669 a proxy, so as handle autoloads and redefinitions of the target.
7670 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7671
7672 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7673 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7674 (pcase--mutually-exclusive-p): New function.
7675 (pcase--split-consp): Use it.
7676 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7677 mutually exclusive with the current predicate.
7678
7679 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7680 (edebug-macrop): Remove. Use `macrop' instead.
7681 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7682 (ad-macro-p):
7683 * eshell/esh-cmd.el (eshell-macrop):
7684 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7685
7686 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7689 (advice-mapc): New function, using it.
7690 (advice-function-member-p): New function.
7691 (advice--normalize): Store the cdr in advice--saved-rewrite since
7692 that's the part that will be changed.
7693 (advice--symbol-function): New function.
7694 (advice-remove): Handle removal before the function is defined.
7695 Adjust to new advice--saved-rewrite.
7696 (advice-member-p): Use advice-function-member-p and
7697 advice--symbol-function.
7698
7699 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7702 (frameset-filter-minibuffer): Doc fix.
7703 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7704 (frameset--set-id, frameset--process-minibuffer-frames)
7705 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7706 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7707
7708 * desktop.el (desktop-clear): Only delete frames when called
7709 interactively and desktop-restore-frames is non-nil. Doc fix.
7710 (desktop-read): Set desktop-saved-frameset to nil.
7711
7712 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7713
7714 * vc/vc.el (vc-ignore): Rewrite.
7715 (vc-default-ignore-completion-table):
7716 (vc--read-lines):
7717 (vc--add-line, vc--remove-regexp): New functions.
7718
7719 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7720 (vc-svn-ignore-completion-table): New function.
7721
7722 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7723 (vc-hg-ignore-completion-table):
7724 (vc-hg-find-ignore-file): New functions.
7725
7726 * vc/vc-git.el (vc-git-ignore): Rewrite.
7727 (vc-git-ignore-completion-table):
7728 (vc-git-find-ignore-file): New functions.
7729
7730 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7731
7732 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7733 (vc-bzr-ignore-completion-table):
7734 (vc-bzr-find-ignore-file): New functions.
7735
7736 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * frameset.el (frameset-prop): New function and setter.
7739 (frameset-save): Do not modify frame list passed by the caller.
7740
7741 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7744
7745 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7748 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7749
7750 * custom.el (custom-initialize-default, custom-initialize-set)
7751 (custom-initialize-reset, custom-initialize-changed): Affect the
7752 toplevel-default-value (bug#6275, bug#14586).
7753 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7754 for bug#6275.
7755
7756 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7759 Add cl-def* expressions.
7760
7761 * frameset.el (frameset-filter-params): Fix order of arguments.
7762
7763 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7764
7765 Move code related to saving frames to frameset.el.
7766 * desktop.el: Require frameset.
7767 (desktop-restore-frames): Doc fix.
7768 (desktop-restore-reuses-frames): Rename from
7769 desktop-restoring-reuses-frames.
7770 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7771 (desktop-clear): Clear frames too.
7772 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7773 (desktop--filter-tty*, desktop-save, desktop-read):
7774 Use frameset functions.
7775 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7776 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7777 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7778 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7779 (desktop--process-minibuffer-frames, desktop-save-frames)
7780 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7781 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7782 (desktop--sort-states, desktop-restoring-frames-p)
7783 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7784 (desktop-restoring-frameset-p, desktop-restore-frameset)
7785 (desktop--check-dont-save, desktop-save-frameset): New functions.
7786 (desktop--app-id): New constant.
7787 (desktop-first-buffer, desktop-buffer-ok-count)
7788 (desktop-buffer-fail-count): Move before first use.
7789 * frameset.el: New file.
7790
7791 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * files.el: Use lexical-binding.
7794 (dir-locals-read-from-file): Remove unused `err' variable.
7795 (hack-dir-local-variables--warned-coding): New var.
7796 (hack-dir-local-variables): Use it to avoid repeated warnings.
7797 (make-backup-file-name--default-function): New function.
7798 (make-backup-file-name-function): Use it as default.
7799 (buffer-stale--default-function): New function.
7800 (buffer-stale-function): Use it as default.
7801 (revert-buffer-insert-file-contents--default-function): New function.
7802 (revert-buffer-insert-file-contents-function): Use it as default.
7803 (insert-directory): Avoid add-to-list.
7804
7805 * autorevert.el (auto-revert-handler): Simplify.
7806 Use buffer-stale--default-function.
7807
7808 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7809
7810 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7811
7812 * whitespace.el (whitespace-ensure-local-variables): New function.
7813 (whitespace-cleanup-region): Call it.
7814 (whitespace-turn-on): Call it.
7815
7816 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7817
7818 Complete file name handlers.
7819
7820 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7821 (tramp-handle-verify-visited-file-modtime)
7822 (tramp-handle-file-notify-rm-watch): New functions.
7823 (tramp-call-process): Do not bind `default-directory'.
7824
7825 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7826 Order alphabetically.
7827 <access-file, add-name-to-file, dired-call-process>:
7828 <dired-compress-file, file-acl, file-notify-rm-watch>:
7829 <file-ownership-preserved-p, file-selinux-context>:
7830 <make-directory-internal, make-symbolic-link, set-file-acl>:
7831 <set-file-selinux-context, set-visited-file-modtime>:
7832 <verify-visited-file-modtime>: Add handler.
7833 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7834
7835 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7836 <file-notify-add-watch, file-notify-rm-watch>:
7837 <set-file-times, set-visited-file-modtime>:
7838 <verify-visited-file-modtime>: Add handler.
7839 (with-tramp-gvfs-error-message)
7840 (tramp-gvfs-handle-set-visited-file-modtime)
7841 (tramp-gvfs-fuse-file-name): Remove.
7842 (tramp-gvfs-handle-file-notify-add-watch)
7843 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7844 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7845
7846 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7847 Order alphabetically.
7848 <file-notify-rm-watch>: Use default Tramp handler.
7849 <executable-find>: Remove private handler.
7850 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7851 `default-directory'.
7852 (tramp-sh-handle-executable-find)
7853 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7854 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7855 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7856 Do not use `format' in `tramp-message'.
7857
7858 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7859 <file-notify-rm-watch, set-visited-file-modtime>:
7860 <verify-visited-file-modtime>: Add handler.
7861 (tramp-smb-call-winexe): Do not bind `default-directory'.
7862
7863 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7864
7865 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7866
7867 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7868
7869 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7870 use it.
7871 (log-view-diff-changeset): Same.
7872 (log-view-diff-common): Call backend command `previous-revision'
7873 to find out the previous revision, in both cases. Swap the
7874 variables `to' and `fr', so that `fr' usually refers to the
7875 earlier revision (Bug#14989).
7876
7877 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7878
7879 * ibuf-ext.el (ibuffer-filter-by-filename):
7880 Make it work with dired buffers too.
7881
7882 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7883
7884 * emacs-lisp/re-builder.el (reb-color-display-p):
7885 * files.el (save-buffers-kill-terminal):
7886 * net/browse-url.el (browse-url):
7887 * server.el (server-save-buffers-kill-terminal):
7888 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7889 Prefer nil to selected-frame for the first arg of frame-parameter.
7890
7891 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7892
7893 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7894
7895 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7896
7897 * minibuffer.el (completion--twq-all): Try and preserve each
7898 completion's case choice (bug#14907).
7899
7900 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7901
7902 * net/network-stream.el (open-network-stream): Mention the new
7903 :nogreeting parameter.
7904 (network-stream-open-starttls): Use the :nogreeting parameter
7905 (bug#14938).
7906
7907 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7908
7909 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7910 more natural than popping.
7911
7912 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7913 (shr-urlify): Highlight under mouse.
7914
7915 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7916
7917 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7918
7919 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7920
7921 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7922 buffer for output.
7923
7924 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7925 point-min==1. Fix search string. Fix parentheses missing.
7926
7927 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7928 assume point-min==1. Fix search string. Fix parentheses missing.
7929
7930 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7931
7932 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7933 buffer for output.
7934
7935 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7936
7937 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7938 initial frame is minibuffer-less. (Bug#14841)
7939
7940 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7941
7942 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7943 option.
7944
7945 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7946 (tramp-maybe-open-connection): Use it.
7947
7948 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7949
7950 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7951 minimal set of parameters passed when creating a frame, because
7952 the minibuffer status of a frame cannot be changed later.
7953
7954 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7955
7956 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7957 replace-regexp-in-string and inadvertent omissions in previous change.
7958 (todo-filter-items): Ensure only file names are comma-separated in
7959 name of filtered items buffer.
7960
7961 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7962
7963 * desktop.el: Optionally force offscreen frames back onscreen.
7964 (desktop-restoring-reuses-frames): New option.
7965 (desktop--compute-pos, desktop--move-onscreen): New functions.
7966 (desktop--make-frame): Use desktop--move-onscreen.
7967
7968 2013-07-27 Alan Mackenzie <acm@muc.de>
7969
7970 Fontify a Java generic method as a function.
7971 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7972 value to t.
7973
7974 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7975
7976 * calendar/todo-mode.el: Add command to rename todo files.
7977 (todo-rename-file): New command.
7978 (todo-key-bindings-t): Add key binding for it. Change the
7979 bindings of todo-filter-regexp-items(-multifile) to use `x'
7980 instead of `r', since the latter is better suited to the new
7981 renaming command.
7982
7983 2013-07-27 Alan Mackenzie <acm@muc.de>
7984
7985 Make Java try-with-resources statement parse properly.
7986 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7987 (c-block-stmt-1-2-key): New language constants/variables.
7988 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7989 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7990 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7991 with c-block-stmt-1-2-key.
7992
7993 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * desktop.el (desktop--make-frame): Apply most frame parameters after
7996 creating the frame to force (partially or totally) offscreen frames to
7997 be restored as such.
7998
7999 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8000
8001 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8002 (Bug#14948)
8003
8004 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8007 `base' arg of backtrace-frame.
8008
8009 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8010
8011 * simple.el (list-processes): Doc fix.
8012
8013 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8014
8015 * desktop.el (desktop--select-frame):
8016 Try harder to reuse existing frames.
8017
8018 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8021 (edebug-eval): Use backtrace-eval.
8022 (edebug--display, edebug--recursive-edit): Don't let-bind the
8023 edebug-outer-* vars that keep track of variables we locally let-bind.
8024 (edebug-outside-excursion): Don't restore outside values of locally
8025 let-bound vars.
8026 (edebug--display): Use user-error.
8027 (cl-lexical-debug, cl-debug-env): Remove.
8028
8029 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8030
8031 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8032 are restored to be sure that they are visible before deleting any
8033 remaining ones.
8034
8035 2013-07-26 Matthias Meulien <orontee@gmail.com>
8036
8037 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8038 vc-print-root-log. (Bug#14948)
8039
8040 2013-07-26 Richard Stallman <rms@gnu.org>
8041
8042 Add aliases for encrypting mail.
8043 * epa.el (epa-mail-aliases): New option.
8044 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8045 Bind inhibit-read-only so read-only text doesn't ruin everything.
8046 (epa-mail-default-recipients): New subroutine broken out.
8047 Handle epa-mail-aliases.
8048
8049 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 Add support for lexical variables to the debugger's `e' command.
8052 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8053 vars, except for debugger-outer-match-data.
8054 (debugger-frame-number): Move check for "on a function call" from
8055 callers into it. Add `skip-base' argument.
8056 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8057 (debugger-env-macro): Only reset the state stored in non-variables,
8058 i.e. current-buffer and match-data.
8059 (debugger-eval-expression): Rewrite using backtrace-eval.
8060 * subr.el (internal--called-interactively-p--get-frame): Remove.
8061 (called-interactively-p):
8062 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8063 `base' arg of backtrace-frame instead.
8064
8065 2013-07-26 Glenn Morris <rgm@gnu.org>
8066
8067 * align.el (align-regexp): Doc fix. (Bug#14857)
8068 (align-region): Explicit error if subexpression missing/does not match.
8069
8070 * simple.el (global-visual-line-mode):
8071 Do not duplicate the mode lighter. (Bug#14858)
8072
8073 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8074
8075 * window.el (display-buffer): In display-buffer bind
8076 split-window-keep-point to t, bug#14829.
8077
8078 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8081 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8082 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8083 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8084 Change accordingly.
8085 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8086 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8087
8088 2013-07-25 Glenn Morris <rgm@gnu.org>
8089
8090 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8091
8092 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8093
8094 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8095 parameter to modify-frame-parameters if the value has not changed;
8096 this is a workaround for bug#14949.
8097 (desktop--make-frame): On cl-delete-if call, check parameter name,
8098 not full parameter.
8099
8100 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8101
8102 * vc/vc.el (vc-ignore): New function.
8103
8104 * vc/vc-svn.el (vc-svn-ignore): New function.
8105
8106 * vc/vc-hg.el (vc-hg-ignore): New function.
8107
8108 * vc/vc-git.el (vc-git-ignore): New function.
8109
8110 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8111 (vc-dir-ignore): New function.
8112
8113 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8114 (cvs-append-to-ignore): Move here from pcvs.el.
8115
8116 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8117
8118 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8119
8120 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8121
8122 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8123 (desktop-restore-frames): Warn when deleting an existing frame failed.
8124
8125 2013-07-24 Glenn Morris <rgm@gnu.org>
8126
8127 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8128
8129 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8130
8131 * filenotify.el (file-notify-supported-p):
8132 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8133 Remove functions.
8134
8135 * autorevert.el (auto-revert-use-notify):
8136 (auto-revert-notify-add-watch):
8137 * net/tramp.el (tramp-file-name-for-operation):
8138 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8140 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8141 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8142 Remove `file-notify-supported-p' entry.
8143
8144 2013-07-24 Glenn Morris <rgm@gnu.org>
8145
8146 * printing.el: Replace all uses of deleted ps-windows-system,
8147 ps-lp-system, ps-flatten-list with lpr- versions.
8148
8149 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8152 checked with memq (bug#14935).
8153
8154 * files.el (revert-buffer-function): Use a non-nil default.
8155 (revert-buffer-preserve-modes): Declare var to
8156 provide access to the `preserve-modes' argument.
8157 (revert-buffer): Let-bind it.
8158 (revert-buffer--default): New function, extracted from revert-buffer.
8159
8160 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * lpr.el: Signal print errors more prominently.
8163 (print-region-function): Don't default to nil.
8164 (lpr-print-region): New function, extracted from print-region-1.
8165 Check lpr's return value and signal an error in case of problem.
8166 (print-region-1): Use it.
8167 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8168 versions instead.
8169 (ps-printer-name): Default to nil.
8170 (ps-printer-name-option): Default to lpr-printer-switch.
8171 (ps-print-region-function): Don't default to nil.
8172 (ps-postscript-code-directory): Simplify default.
8173 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8174 (ps-string-list, ps-eval-switch, ps-flatten-list)
8175 (ps-flatten-list-1): Remove.
8176 (ps-multibyte-buffer): Avoid setq.
8177 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8178 (print-region-function, ps-print-region-function): Don't set them here.
8179
8180 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8181
8182 * ido.el (ido-fractionp):
8183 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8184 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8185 (ido-max-directory-size, ido-max-dir-file-cache)
8186 (ido-decorations): Doc fix.
8187
8188 * ansi-color.el: Fix old URL.
8189
8190 2013-07-23 Michael R. Mauger <michael@mauger.com>
8191
8192 * progmodes/sql.el: Version 3.3
8193 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8194 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8195 (sql-interactive-remove-continuation-prompt): Rewrite, use
8196 functions above. Fix continuation prompt and complete output line
8197 handling.
8198 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8199 redirected output buffer.
8200 (sql-mode): Restore deleted code (Bug#13591).
8201
8202 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8203
8204 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8205
8206 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8207
8208 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8209
8210 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8211 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8212 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8213
8214 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * desktop.el (desktop-clear): Simplify; remove useless checks
8217 against invalid buffer names.
8218 (desktop-list*): Use cl-list*.
8219 (desktop-buffer-info, desktop-create-buffer): Simplify.
8220
8221 2013-07-23 Leo Liu <sdl.web@gmail.com>
8222
8223 * bookmark.el (bookmark-make-record): Restore NAME as a default
8224 value. (Bug#14933)
8225
8226 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8229 extracted from autoload--insert-text.
8230 (autoload--insert-text): Remove.
8231 (autoload--print-cookie-text): New function, extracted from
8232 autoload--insert-cookie-text.
8233 (autoload--insert-cookie-text): Remove.
8234 (autoload-generate-file-autoloads): Adjust calls accordingly.
8235
8236 * winner.el (winner-hook-installed-p): Remove.
8237 (winner-mode): Simplify accordingly.
8238
8239 * subr.el (add-to-list): Fix compiler-macro when `append' is
8240 not constant. Don't use `cl-member' for the base case.
8241
8242 * progmodes/subword.el: Fix boundary case (bug#13758).
8243 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8244 own group.
8245 (subword-backward-regexp): Make it a constant.
8246 (subword-forward-internal): Don't treat a trailing capital as the
8247 beginning of a word.
8248
8249 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8250
8251 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8252 global value of tabulated-list-revert-hook (bug#14930).
8253
8254 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8255
8256 * desktop.el: Require 'cl-lib.
8257 (desktop-before-saving-frames-functions): New hook.
8258 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8259 for frames being saved. Rename from desktop--save-minibuffer-frames.
8260 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8261 Do not save frames with non-nil `desktop-dont-save' parameter.
8262 Filter out deleted frames.
8263 (desktop--find-frame): Use cl-find-if.
8264 (desktop--select-frame): Use cl-(first|second|third) to access values
8265 of desktop-mini.
8266 (desktop--make-frame): Use cl-delete-if.
8267 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8268 (desktop-restore-frames): Use cl-(first|second|third) to access values
8269 of desktop-mini. Look for visible frame at the end, not while
8270 restoring frames.
8271
8272 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8273 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8274 Use string-match-p, looking-at-p (bug#14927).
8275
8276 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8277
8278 * desktop.el (desktop-saved-frame-states):
8279 Rename from desktop--saved-states; all users changed.
8280 (desktop-save-frames): Rename from desktop--save-frames.
8281 Do not save state to desktop file.
8282 (desktop-save): Save desktop-saved-frame-states to desktop file
8283 and reset to nil.
8284 (desktop-restoring-frames-p): New function.
8285 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8286 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8287 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8288
8289 * desktop.el: Correctly restore iconified frames.
8290 (desktop--filter-iconified-position): New function.
8291 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8292
8293 2013-07-20 Glenn Morris <rgm@gnu.org>
8294
8295 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8296 Let `message' do the formatting.
8297 (def-gdb-preempt-display-buffer): Add explicit format.
8298
8299 * image-dired.el (image-dired-track-original-file):
8300 Use with-current-buffer.
8301 (image-dired-track-thumbnail): Use with-current-buffer.
8302 Avoid changing point of wrong window.
8303
8304 * image-dired.el (image-dired-track-original-file):
8305 Avoid changing point of wrong window. (Bug#14909)
8306
8307 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8308
8309 * progmodes/gdb-mi.el (gdb-done-or-error):
8310 Guard against "%" in gdb output. (Bug#14127)
8311
8312 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8313
8314 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8315 (Bug#14826)
8316
8317 * international/mule.el (coding-system-iso-2022-flags): Fix last
8318 change.
8319
8320 2013-07-20 Kenichi Handa <handa@gnu.org>
8321
8322 * international/mule.el (coding-system-iso-2022-flags):
8323 Add `8-bit-level-4'. (Bug#8522)
8324
8325 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
8327 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8328 (bug#14815).
8329
8330 * net/eww.el (eww-process-text-input): Allow inputting when the
8331 point is at the start of the line, as the properties aren't
8332 front-sticky.
8333
8334 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8335 degenerate widths.
8336
8337 2013-07-19 Richard Stallman <rms@gnu.org>
8338
8339 * epa.el (epa-popup-info-window): Doc fix.
8340
8341 * subr.el (split-string): New arg TRIM.
8342
8343 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8346 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8347
8348 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8349
8350 * filenotify.el (file-notify--library): Rename from
8351 `file-notify-support'. Do not autoload. Adapt all uses.
8352 (file-notify-supported-p): New defun.
8353
8354 * autorevert.el (auto-revert-use-notify):
8355 Use `file-notify-supported-p' instead of `file-notify-support'.
8356 Adapt docstring.
8357 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8358
8359 * net/tramp.el (tramp-file-name-for-operation):
8360 Add `file-notify-supported-p'.
8361
8362 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8363 New defun.
8364 (tramp-sh-file-name-handler-alist): Add it as handler for
8365 `file-notify-supported-p '.
8366
8367 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8368 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8369 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8370 Add `ignore' as handler for `file-notify-*' functions.
8371
8372 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8373
8374 * simple.el (line-move-partial, line-move): Don't start vscroll or
8375 scroll-up if the current line is not taller than the window.
8376 (Bug#14881)
8377
8378 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8379
8380 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8381 highlight question marks in the method names as strings.
8382 (ruby-block-beg-keywords): Inline.
8383 (ruby-font-lock-keyword-beg-re): Extract from
8384 `ruby-font-lock-keywords'.
8385
8386 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8387
8388 * frame.el (blink-cursor-blinks): New defcustom.
8389 (blink-cursor-blinks-done): New defvar.
8390 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8391 (blink-cursor-timer-function): Check if number of blinks has been
8392 done on X and NS.
8393 (blink-cursor-suspend, blink-cursor-check): New defuns.
8394
8395 2013-07-15 Glenn Morris <rgm@gnu.org>
8396
8397 * edmacro.el (edmacro-format-keys): Fix previous change.
8398
8399 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8400
8401 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8402 The hack didn't work outside English locales anyway.
8403
8404 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * simple.el (define-alternatives): Rename from alternatives-define,
8407 per RMS' suggestion.
8408
8409 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8410
8411 * desktop.el (desktop-restore-frames): Change default to t.
8412 (desktop-restore-in-current-display): Now offer more options.
8413 (desktop-restoring-reuses-frames): New customization option.
8414 (desktop--saved-states): Doc fix.
8415 (desktop-filter-parameters-alist): New variable, renamed and expanded
8416 from desktop--excluded-frame-parameters.
8417 (desktop--target-display): New variable.
8418 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8419 (desktop--filter-tty*, desktop--filter-*-color)
8420 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8421 (desktop--filter-save-desktop-parm)
8422 (desktop-restore-in-original-display-p): New functions.
8423 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8424 (desktop--save-minibuffer-frames): New function, inspired by a similar
8425 function from Martin Rudalics.
8426 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8427 (desktop--restore-in-this-display-p): Remove.
8428 (desktop--find-frame): Rename from desktop--find-frame-in-display
8429 and add predicate argument.
8430 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8431 (desktop--reuse-list): New variable.
8432 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8433 New functions.
8434 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8435
8436 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8437
8438 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8439
8440 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8441
8442 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8443 Highlight conversion methods on Kernel.
8444
8445 2013-07-13 Alan Mackenzie <acm@muc.de>
8446
8447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8448 and comment it out. This out-commenting enables certain C++
8449 declarations to be parsed correctly.
8450
8451 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8452
8453 * international/mule.el (define-coding-system): Doc fix.
8454
8455 * simple.el (default-font-height): Don't call font-info if the
8456 frame's default font didn't change since the frame was created.
8457 (Bug#14838)
8458
8459 2013-07-13 Leo Liu <sdl.web@gmail.com>
8460
8461 * ido.el (ido-read-file-name): Guard against non-symbol value.
8462
8463 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8464
8465 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8466 in nested defuns.
8467
8468 2013-07-13 Leo Liu <sdl.web@gmail.com>
8469
8470 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8471 ido-set-matches call. (Bug#6852)
8472
8473 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8474
8475 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8476 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8477 Ruby 2.0.
8478 (ruby-font-lock-keywords): Distinguish calls to functions with
8479 module-like names from module references. Highlight character
8480 literals.
8481
8482 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8483
8484 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8485 (gdb-send): Handle continued commands. (Bug#14847)
8486
8487 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8488
8489 * desktop.el (desktop--v2s): Remove unused local variable.
8490 (desktop-save-buffer): Make defvar-local; adjust docstring.
8491 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8492 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8493
8494 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8495
8496 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8497
8498 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8499
8500 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8501 (Bug#14842)
8502
8503 2013-07-12 Glenn Morris <rgm@gnu.org>
8504
8505 * doc-view.el: Require cl-lib at runtime too.
8506 (doc-view-remove-if): Remove.
8507 (doc-view-search-next-match, doc-view-search-previous-match):
8508 Use cl-remove-if.
8509
8510 * edmacro.el: Require cl-lib at runtime too.
8511 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8512 (edmacro-mismatch, edmacro-subseq): Remove.
8513
8514 * shadowfile.el: Require cl-lib.
8515 (shadow-remove-if): Remove.
8516 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8517 Use cl-remove-if.
8518
8519 * wid-edit.el: Require cl-lib.
8520 (widget-choose): Use cl-remove-if.
8521 (widget-remove-if): Remove.
8522
8523 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8524 (ebrowse-delete-if-not): Remove.
8525 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8526 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8527 Use cl-delete-if-not.
8528
8529 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8532 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8533
8534 2013-07-12 Leo Liu <sdl.web@gmail.com>
8535
8536 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8537
8538 2013-07-11 Glenn Morris <rgm@gnu.org>
8539
8540 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8541 (edebug-gensym-index, edebug-gensym):
8542 Remove reimplementation of cl-gensym.
8543 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8544
8545 * thumbs.el: Require cl-lib at run-time too.
8546 (thumbs-gensym-counter, thumbs-gensym):
8547 Remove reimplementation of cl-gensym.
8548 (thumbs-temp-file): Use cl-gensym.
8549
8550 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8551 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8552 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8553 (ert--union, ert--gensym-counter, ert--gensym-counter)
8554 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8555 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8556 (ert-make-test-unbound, ert--expand-should-1)
8557 (ert--expand-should, ert--should-error-handle-error)
8558 (should-error, ert--explain-equal-rec)
8559 (ert--plist-difference-explanation, ert-select-tests)
8560 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8561 Use cl-lib functions rather than reimplementations.
8562
8563 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8564
8565 * net/tramp.el (tramp-methods): Extend docstring.
8566 (tramp-connection-timeout): New defcustom.
8567 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8568 (with-tramp-progress-reporter): Simplify.
8569 (tramp-process-actions): Improve messages.
8570
8571 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8572 * net/tramp-sh.el (tramp-maybe-open-connection):
8573 Use `tramp-connection-timeout'.
8574 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8575 (Bug#14808)
8576
8577 2013-07-11 Leo Liu <sdl.web@gmail.com>
8578
8579 * ido.el (ido-read-file-name): Conform to the requirements of
8580 read-file-name. (Bug#11861)
8581 (ido-read-directory-name): Conform to the requirements of
8582 read-directory-name.
8583
8584 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8585
8586 * subr.el (delay-warning): New function.
8587
8588 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8589
8590 * simple.el (default-line-height): New function.
8591 (line-move-partial, line-move): Use it instead of computing the
8592 line height inline.
8593 (line-move-partial): Always compute ROWH. If the last line is
8594 partially-visible, but its text is completely visible, allow
8595 cursor to enter such a partially-visible line.
8596
8597 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8598
8599 Improve error messages. (Bug#14808)
8600
8601 * net/tramp.el (tramp-current-connection): New defvar, moved from
8602 tramp-sh.el.
8603 (tramp-message-show-progress-reporter-message): Remove, not
8604 needed anymore.
8605 (tramp-error-with-buffer): Show message in minibuffer.
8606 Discard input before waiting. Reset connection timestamp.
8607 (with-tramp-progress-reporter): Improve messages.
8608 (tramp-process-actions): Use progress reporter. Delete process in
8609 case of error. Improve messages.
8610
8611 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8612 Call `tramp-error-with-buffer' with vector and buffer.
8613 (tramp-current-connection): Remove.
8614 (tramp-maybe-open-connection): The car of
8615 `tramp-current-connection' are the first 3 slots of the vector.
8616
8617 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8618
8619 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8620 inside continued strings.
8621
8622 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8623
8624 Timestamp fixes for undo (Bug#14824).
8625 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8626
8627 2013-07-10 Leo Liu <sdl.web@gmail.com>
8628
8629 * files.el (require-final-newline): Allow safe local value.
8630 (Bug#14834)
8631
8632 2013-07-09 Leo Liu <sdl.web@gmail.com>
8633
8634 * ido.el (ido-read-directory-name): Handle fallback.
8635 (ido-read-file-name): Update DIR to ido-current-directory.
8636 (Bug#1516)
8637 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8638
8639 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8640
8641 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8642 "autoload". Remove "warn lower camel case" section, previously
8643 commented out. Highlight negation char. Do not highlight the
8644 target in singleton method definitions.
8645
8646 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * faces.el (tty-setup-hook): Declare the hook.
8649
8650 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8651 and detect when a guard/pred depends on local vars (bug#14773).
8652 (pcase--u1): Adjust caller.
8653
8654 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8655
8656 * simple.el (line-move-partial, line-move): Account for
8657 line-spacing.
8658 (line-move-partial): Avoid setting vscroll when the last
8659 partially-visible line in window is of default height.
8660
8661 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8662
8663 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8664 been used a while.
8665
8666 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8667
8668 * subr.el (read-quoted-char): Remove unused local variable `char'.
8669
8670 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8671
8672 * ediff.el (ediff-version): Version update.
8673 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8674 (ediff-merge-with-ancestor-command, ediff-directories-command)
8675 (ediff-directories3-command, ediff-merge-directories-command)
8676 (ediff-merge-directories-with-ancestor-command): New functions.
8677 All are command-line interfaces to ediff: to facilitate calling
8678 Emacs with the appropriate ediff functions invoked.
8679
8680 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8681 (viper-save-kill-buffer): Check if buffer is modified.
8682
8683 * viper.el (viper-version): Version update.
8684 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8685
8686 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8689 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8690 (viper-intercept-ESC-key): Simplify.
8691 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8692 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8693 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8694 (viper-setup-ESC-to-escape): New functions.
8695 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8696 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8697
8698 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8699
8700 * simple.el (default-font-height, window-screen-lines):
8701 New functions.
8702 (line-move, line-move-partial): Use them instead of
8703 frame-char-height and window-text-height. This makes scrolling
8704 text smoother when the buffer's default face uses a font that is
8705 different from the frame's default font.
8706
8707 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8708
8709 * files.el (write-file): Do not display confirm dialog for NS,
8710 it does its own dialog, which can't be canceled (Bug#14578).
8711
8712 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8713
8714 * simple.el (line-move-partial): Adjust the row returned by
8715 posn-at-point for the current window-vscroll. (Bug#14567)
8716
8717 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8718
8719 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8720 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8721 spaces.
8722
8723 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8724
8725 * window.el (window-state-put-stale-windows): New variable.
8726 (window--state-put-2): Save list of windows without matching buffer.
8727 (window-state-put): Remove "bufferless" windows if possible.
8728
8729 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8730
8731 * simple.el (alternatives-define): Remove leftover :group keyword.
8732 Tweak docstring.
8733
8734 2013-07-06 Leo Liu <sdl.web@gmail.com>
8735
8736 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8737 (ido-enable-virtual-buffers): New variable.
8738 (ido-buffer-internal, ido-toggle-virtual-buffers)
8739 (ido-make-buffer-list): Use it.
8740 (ido-exhibit): Support turning on and off virtual buffers
8741 automatically.
8742
8743 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8744
8745 * simple.el (alternatives-define): New macro.
8746
8747 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * subr.el (read-quoted-char): Use read-key.
8750 (sit-for): Let read-event decode tty input (bug#14782).
8751
8752 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8753
8754 * calendar/todo-mode.el: Add handling of file deletion, both by
8755 mode command and externally. Fix various related bugs.
8756 Clarify Commentary and improve some documentation strings and code.
8757 (todo-delete-file): New command.
8758 (todo-check-file): New function.
8759 (todo-show): Handle external deletion of the file we're trying to
8760 show (bug#14688). Replace called-interactively-p by an optional
8761 prefix argument to avoid problematic interaction with catch form
8762 when byte compiled (bug#14702).
8763 (todo-quit): Handle external deletion of the archive's todo file.
8764 Make sure the buffer that was visiting the archive file is still
8765 live before trying to bury it.
8766 (todo-category-completions): Handle external deletion of any
8767 category completion files.
8768 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8769 of todo files, in case of external deletion.
8770 (todo-add-file): Replace unnecessary setq by let-binding.
8771 (todo-find-archive): Check whether there are any archives.
8772 Replace unnecessary setq by let-binding.
8773 (todo-archive-done-item): Use find-file-noselect to get the
8774 archive buffer whether or not the archive already exists.
8775 Remove superfluous code. Use file size instead of buffer-file-name to
8776 check if the archive is new; if it is, update list of archives.
8777 (todo-default-todo-file): Allow nil to be a valid value for when
8778 there are no todo files.
8779 (todo-reevaluate-default-file-defcustom): Use corrected definition
8780 of todo-default-todo-file.
8781 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8782 (todo-delete-category, todo-show-categories-table)
8783 (todo-category-number): Clarify comment.
8784 (todo-filter-items): Clarify documentation string.
8785 (todo-show-current-file, todo-display-as-todo-file)
8786 (todo-reset-and-enable-done-separator): Tweak documentation string.
8787 (todo-done-separator): Make separator length window-width, since
8788 bug#2749 is now fixed.
8789
8790 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8791
8792 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8793 Support both "gvfs-monitor-dir" and "inotifywait".
8794 (tramp-sh-file-inotifywait-process-filter): Rename from
8795 `tramp-sh-file-notify-process-filter'.
8796 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8797 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8798
8799 2013-07-05 Leo Liu <sdl.web@gmail.com>
8800
8801 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8802
8803 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8804
8805 * frame.el (display-pixel-height, display-pixel-width)
8806 (display-mm-height, display-mm-width): Mention behavior on
8807 multi-monitor setups in docstrings.
8808 (w32-display-monitor-attributes-list): Declare function.
8809 (display-monitor-attributes-list): Use it.
8810
8811 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8812
8813 * filenotify.el: New package.
8814
8815 * autorevert.el (top): Require filenotify.el.
8816 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8817 instead.
8818 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8819 (auto-revert-notify-handler): Use `file-notify-*' functions.
8820
8821 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8822
8823 * net/tramp.el (tramp-file-name-for-operation):
8824 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8825
8826 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8827 for `file-notify-add-watch' and `file-notify-rm-watch'.
8828 (tramp-process-sentinel): Improve trace.
8829 (tramp-sh-handle-file-notify-add-watch)
8830 (tramp-sh-file-notify-process-filter)
8831 (tramp-sh-handle-file-notify-rm-watch)
8832 (tramp-get-remote-inotifywait): New defuns.
8833
8834 2013-07-03 Juri Linkov <juri@jurta.org>
8835
8836 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8837 call of `occur-read-primary-args' to interactive spec.
8838
8839 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8840 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8841
8842 2013-07-03 Matthias Meulien <orontee@gmail.com>
8843
8844 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8845 `Buffer-menu-multi-occur'. Add it to the menu.
8846 (Buffer-menu-mode): Document it in docstring.
8847 (Buffer-menu-multi-occur): New command. (Bug#14673)
8848
8849 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8850
8851 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8852 keywords and built-ins.
8853
8854 2013-07-03 Glenn Morris <rgm@gnu.org>
8855
8856 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8857
8858 Make info-xref checks case-sensitive by default
8859 * info.el (Info-find-node, Info-find-in-tag-table)
8860 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8861 Add option for exact case matching of nodes.
8862 * info-xref.el (info-xref): New custom group.
8863 (info-xref-case-fold): New option.
8864 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8865
8866 2013-07-03 Leo Liu <sdl.web@gmail.com>
8867
8868 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8869
8870 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8871
8872 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8873 middle of block statement initially, lower the depth. Remove
8874 FIXME comment, not longer valid. Remove middle of block statement
8875 detection, no need to do that anymore since we've been using
8876 `ruby-parse-region' here.
8877
8878 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8879
8880 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8881
8882 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8883
8884 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8885
8886 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8887
8888 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8889 (desktop-restore-in-current-display): New customization option.
8890 (desktop--excluded-frame-parameters): Add `font'.
8891 (desktop--save-frames): Rename from desktop--save-windows.
8892 (desktop--restore-in-this-display-p): New function.
8893 (desktop--make-full-frame): Remove unwanted width/height from
8894 full(width|height) frames.
8895 (desktop--restore-frames): Rename from desktop--restore-windows.
8896 Obey desktop-restore-current-display. Do not delete old frames or
8897 select a new frame unless we were able to restore at least one frame.
8898
8899 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8900
8901 * files.el (find-file-noselect): Simplify conditional expression.
8902
8903 * textmodes/remember.el (remember-append-to-file):
8904 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8905
8906 Add `remember-notes' function to store random notes across Emacs
8907 restarts.
8908 * textmodes/remember.el (remember-data-file): Add :set callback to
8909 affect notes buffer (if any).
8910 (remember-notes): New command.
8911 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8912 New defcustoms for the `remember-notes' function.
8913 (remember-notes-save-and-bury-buffer): New command.
8914 (remember-notes-mode-map): New variable.
8915 (remember-mode): New minor mode.
8916 (remember-notes--kill-buffer-query): New function.
8917 * startup.el (initial-buffer-choice): Add notes to custom type.
8918
8919 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8920
8921 * bindings.el (right-char, left-char): Don't call sit-for, this is
8922 no longer needed. Use arithmetic comparison only for numerical
8923 arguments.
8924
8925 * international/mule-cmds.el (select-safe-coding-system):
8926 Handle the case of FROM being a string correctly. (Bug#14755)
8927
8928 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
8930 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8931 progression on degenerate tables.
8932 (shr-rescale-image): ImageMagick animated images currently don't work.
8933
8934 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8935
8936 Some fixes and improvements for desktop frame restoration.
8937 It is still experimental and disabled by default.
8938 * desktop.el (desktop--save-windows): Put the selected frame at
8939 the head of the list.
8940 (desktop--make-full-frame): New function.
8941 (desktop--restore-windows): Try to re-select the frame that was
8942 selected upon saving. Do not abort if some frames fail to restore,
8943 just show an error message and continue. Set up maximized frames
8944 so they have default non-maximized dimensions.
8945
8946 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8947
8948 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8949 Don't start heredoc inside a string or comment.
8950
8951 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8952
8953 * bindings.el (visual-order-cursor-movement): New defcustom.
8954 (right-char, left-char): Provide visual-order cursor motion by
8955 calling move-point-visually. Update the doc strings.
8956
8957 2013-06-28 Kenichi Handa <handa@gnu.org>
8958
8959 * international/mule.el (define-coding-system): New coding system
8960 properties :inhibit-null-byte-detection,
8961 :inhibit-iso-escape-detection, and :prefer-utf-8.
8962 (set-buffer-file-coding-system): If :charset-list property of
8963 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8964 appropriate for setting.
8965
8966 * international/mule-cmds.el (select-safe-coding-system):
8967 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8968 multibyte characters, return utf-8 (or one of its siblings).
8969
8970 * international/mule-conf.el (prefer-utf-8): New coding system.
8971 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8972 files.
8973
8974 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8975
8976 * net/shr.el (shr-render-region): New function.
8977
8978 * net/eww.el: Autoload `eww-browse-url'.
8979
8980 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8981
8982 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8983 Adapt to `package-desc-version' being a list.
8984 Use `package--ac-desc-version' to retrieve version from a package
8985 archive element.
8986
8987 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8988
8989 New experimental feature to save&restore window and frame setup.
8990 * desktop.el (desktop-save-windows): New defcustom.
8991 (desktop--saved-states): New var.
8992 (desktop--excluded-frame-parameters): New defconst.
8993 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8994 (desktop--restore-windows, desktop--save-windows): New functions.
8995 (desktop-save): Call `desktop--save-windows'.
8996 (desktop-read): Call `desktop--restore-windows'.
8997
8998 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8999
9000 * net/shr.el (add-face-text-property): Remove compat definition.
9001
9002 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9003
9004 * info.el (Info-try-follow-nearest-node): Move search for footnote
9005 above search for node name to prevent missing a footnote (bug#14717).
9006
9007 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9008
9009 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9010
9011 2013-06-27 Leo Liu <sdl.web@gmail.com>
9012
9013 * net/eww.el (eww-read-bookmarks): Check file size.
9014
9015 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9018 advice--pending if newdef is nil or an autoload (bug#13820).
9019 (advice-mapc): New function.
9020
9021 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022
9023 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9024 probably.
9025 (eww-mode-map): Add a menu bar.
9026 (eww-add-bookmark): New command.
9027 (eww-bookmark-mode): New mode and commands.
9028 (eww-add-bookmark): Remove newlines from the title.
9029 (eww-bookmark-browse): Don't bug out if it's the only window.
9030
9031 2013-06-26 Glenn Morris <rgm@gnu.org>
9032
9033 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9034 (hfy-size): Handle ttys. (Bug#14668)
9035
9036 * info-xref.el: Update for Texinfo 5 change in *note format.
9037 (info-xref-node-re, info-xref-note-re): New constants.
9038 (info-xref-check-buffer): Use info-xref-note-re.
9039
9040 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9043
9044 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9045 nil terminate the loop (bug#14718).
9046
9047 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9048
9049 * net/eww.el: Rework history traversal. When going forward/back,
9050 put these actions into the history, too, so that they can be
9051 replayed.
9052 (eww-render): Move the history reset to the correct buffer.
9053
9054 2013-06-25 Juri Linkov <juri@jurta.org>
9055
9056 * files-x.el (modify-dir-local-variable): Change the header comment
9057 in the file with directory local variables. (Bug#14692)
9058
9059 * files-x.el (read-file-local-variable-value): Add `default'.
9060 (Bug#14710)
9061
9062 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9063
9064 * net/eww.el (eww-make-unique-file-name): Create a unique file
9065 name before saving to entering `y' accidentally asynchronously.
9066
9067 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9068
9069 * net/eww.el (eww-download): New command and keystroke.
9070
9071 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9072
9073 * net/eww.el (eww-copy-page-url): Change name of command.
9074
9075 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9076 be more consistent with Info and dired.
9077
9078 * net/eww.el (eww-mode-map): Ditto.
9079
9080 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9083 packages from archives.
9084 (package-archive-contents): Change format; include obsolete packages.
9085 (package-desc): Use `dir' to mark builtin packages.
9086 (package--from-builtin): Set the `dir' field to `builtin'.
9087 (generated-autoload-file, version-control): Declare.
9088 (package-compute-transaction): Change first arg and return value to be
9089 lists of package-descs. Adjust to new package-archive-contents format.
9090 (package--add-to-archive-contents): Adjust to new
9091 package-archive-contents format.
9092 (package-download-transaction): Arg is now a list of package-descs.
9093 (package-install): If `pkg' is a package name, pass it as
9094 a requirement, so it is subject to the usual (e.g. disabled) checks.
9095 (describe-package): Accept package-desc as well.
9096 (describe-package-1): Describe a specific package-desc. Add links to
9097 other package-descs for the same package name.
9098 (package-menu-describe-package): Pass the actual package-desc.
9099 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9100 works correctly.
9101 (package-desc-status): New function.
9102 (package-menu--refresh): New function, extracted
9103 from package-menu--generate.
9104 (package-menu--generate): Use it.
9105 (package-delete): Update package-alist.
9106 (package-menu-execute): Don't call package-initialize.
9107
9108 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9109 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9110 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9111 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9112 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9113 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9114
9115 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9116
9117 * window.el (window--state-get-1): Workaround for bug#14527.
9118 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9119
9120 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9121
9122 * net/eww.el (eww-back-url): Implement the history by stashing all
9123 the data into a list.
9124 (eww-forward-url): Allow going forward in the history, too.
9125
9126 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9129 for values and use read--expression for expressions (bug#14710).
9130 (read-file-local-variable): Avoid setq.
9131 (read-file-local-variable-mode): Use minor-mode-list.
9132
9133 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9134
9135 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9136 for DOI URLs.
9137
9138 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9139
9140 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9141 Update imenu-support when dialect changes.
9142
9143 2013-06-25 Leo Liu <sdl.web@gmail.com>
9144
9145 * ido.el (ido-read-internal): Allow forward slash on windows.
9146
9147 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9148
9149 * net/eww.el (eww): Start of strings is \\`, not ^.
9150
9151 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9152
9153 * net/shr.el (shr-browse-url): Fix interactive spec.
9154
9155 * net/eww.el (eww): Add a trailing slash to domain names.
9156
9157 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9158
9159 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9160
9161 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9162
9163 * net/shr.el (shr-browse-url): Use an external browser if given a
9164 prefix.
9165
9166 * net/eww.el (eww-external-browser): Move to shr.
9167
9168 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9169
9170 * net/eww.el (eww): Work more correctly for file: URLs.
9171 (eww-detect-charset): Allow quoted charsets.
9172 (eww-yank-page-url): New command and keystroke.
9173
9174 2013-06-24 Daiki Ueno <ueno@gnu.org>
9175
9176 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9177 file name of gpg executable.
9178 (epg-context-program): New function.
9179 (epg-context-home-directory): New function.
9180 (epg-context-set-program): New function.
9181 (epg-context-set-home-directory): New function.
9182 (epg--start): Use `epg-context-program' instead of
9183 'epg-gpg-program'.
9184 (epg--list-keys-1): Likewise.
9185
9186 2013-06-24 Leo Liu <sdl.web@gmail.com>
9187
9188 * ido.el (ido-read-internal): Fix bug#14620.
9189
9190 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9191
9192 * faces.el (face-documentation): Simplify.
9193 (read-face-attribute, tty-find-type, x-resolve-font-name):
9194 Use `string-match-p'.
9195 (list-faces-display): Use `string-match-p'. Simplify.
9196 (face-spec-recalc): Check face to avoid face alias loops.
9197 (read-color): Use `string-match-p' and non-capturing parenthesis.
9198
9199 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9200
9201 * net/shr.el (shr-rescale-image): Use the new
9202 :max-width/:max-height functionality.
9203
9204 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9205
9206 * net/eww.el (eww-search-prefix): New variable.
9207 (eww): Use it.
9208 (eww-external-browser): New variable.
9209 (eww-mode-map): New keystroke.
9210 (eww-browse-with-external-browser): New command.
9211
9212 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9213
9214 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9215
9216 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9217 Don't skip aligning the next header field when padding is 0;
9218 otherwise, field width is not respected unless the title is as
9219 wide as the field.
9220
9221 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * emacs-lisp/package.el (package-el-version): Remove.
9224 (package-process-define-package): Fix inf-loop.
9225 (package-install): Allow symbols as arguments again.
9226
9227 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9228
9229 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9230 add some more keyword-like methods.
9231 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9232
9233 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9234
9235 * bs.el (bs-buffer-show-mark): Make defvar-local.
9236 (bs-mode): Use setq-local.
9237
9238 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9239 (emacs-lock--try-unlocking): Make defvar-local.
9240
9241 2013-06-22 Glenn Morris <rgm@gnu.org>
9242
9243 * play/cookie1.el (cookie-apropos): Minor simplification.
9244
9245 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9246
9247 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9248
9249 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9250 `regexp-opt', it breaks the build during dumping.
9251
9252 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9253
9254 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9255 Highlight keyword-like methods on Kernel and Module with
9256 font-lock-builtin-face.
9257 (auto-mode-alist): Consolidate different entries into one regexp
9258 and add more *file-s.
9259
9260 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9261
9262 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9263
9264 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9265 (diary-entry): Use it in the action of this button type instead of
9266 diary-goto-entry.
9267
9268 * calendar/todo-mode.el: New version.
9269 (todo-add-category): Append new category to end of file and give
9270 it the highest number, instead of putting it at the beginning and
9271 giving it 0. Incorporate noninteractive functionality.
9272 (todo-forward-category): Adapt to 1-based category numbering.
9273 Allow skipping over archived categories.
9274 (todo-backward-category): Derive from todo-forward-category.
9275 (todo-backward-item, todo-forward-item): Make noninteractive and
9276 delegate interactive part to new commands. Make sensitive to done items.
9277 (todo-categories): Make value an alist of category names and
9278 vectors of item counts.
9279 (todo-category-beg): Make a defconst.
9280 (todo-category-number): Use 1 instead of 0 as initial value.
9281 (todo-category-select): Make sensitive to overlays, optional item
9282 highlighting and done items.
9283 (todo-delete-item): Make sensitive to overlays and marked and done items.
9284 (todo-edit-item): Make sensitive to overlays and editing of
9285 date/time header optional. Add format checks.
9286 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9287 no-op if point is not on an item. Advertise using todo-edit-quit.
9288 (todo-edit-mode): Make sensitive to new format, font-locking, and
9289 multiple todo files.
9290 (todo-insert-item, todo-insert-item-here): Derive from
9291 todo-basic-insert-item and extend functionality.
9292 (todo-item-end, todo-item-start): Make sensitive to done items.
9293 (todo-item-string): Don't return text properties. Restore point.
9294 (todo-jump-to-category): Make sensitive to multiple todo files and
9295 todo archives. Use extended category completion.
9296 (todo-lower-item, todo-raise-item): Rename to *-priority and
9297 derive from todo-set-item-priority.
9298 (todo-mode): Derive from special-mode. Make sensitive to new
9299 format, font-locking and multiple todo files. Make read-only.
9300 (todo-mode-map): Don't suppress digit keys, so they can supply
9301 prefix arguments. Add many new key bindings.
9302 (todo-prefix): Insert as an overlay instead of file text.
9303 Change semantics from diary date expression to purely visual mark.
9304 (todo-print): Rename to todo-print-buffer. Make buffer display
9305 features printable. Remove option to restrict number of items
9306 printed. Add option to print to file.
9307 (todo-print-function): Rename to todo-print-buffer-function.
9308 (todo-quit): Extend to handle exiting new todo modes.
9309 (todo-remove-item): Make sensitive to overlays.
9310 (todo-save): Extend to buffers of filtered items.
9311 (todo-show): Make sensitive to done items, multiple todo files and
9312 new todo modes. Offer to convert legacy todo file before creating
9313 first new todo file.
9314 (todo-show-priorities): Rename to todo-top-priorities.
9315 Change semantics of value 0.
9316 (todo-top-priorities): Rename to todo-filter-top-priorities,
9317 derive from todo-filter-items and extend functionality.
9318 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9319 and extend functionality to other types of filtered items.
9320 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9321 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9322 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9323 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9324 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9325 (todo-edit-mode-hook, todo-entry-prefix-function)
9326 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9327 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9328 (todo-initials, todo-insert-threshold, todo-item-string-start)
9329 (todo-line-string, todo-menu, todo-mode-hook)
9330 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9331 (todo-print-priorities, todo-remove-separator)
9332 (todo-save-top-priorities-too, todo-string-count-lines)
9333 (todo-string-multiline-p, todo-time-string-format)
9334 (todo-tmp-buffer-name): Remove.
9335 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9336 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9337 (todo-edit-category-diary-inclusion)
9338 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9339 (todo-edit-file, todo-edit-item-date-day)
9340 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9341 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9342 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9343 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9344 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9345 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9346 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9347 (todo-filter-top-priorities-multifile, todo-find-archive)
9348 (todo-find-filtered-items-file, todo-go-to-source-item)
9349 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9350 (todo-jump-to-archive-category, todo-lower-category)
9351 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9352 (todo-move-category, todo-move-item, todo-next-button)
9353 (todo-next-item, todo-padded-string, todo-powerset)
9354 (todo-previous-button, todo-previous-item)
9355 (todo-print-buffer-to-file, todo-raise-category)
9356 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9357 (todo-set-category-number, todo-set-item-priority)
9358 (todo-set-top-priorities-in-category)
9359 (todo-set-top-priorities-in-file, todo-show-categories-table)
9360 (todo-sort-categories-alphabetically-or-numerically)
9361 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9362 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9363 (todo-toggle-item-header, todo-toggle-item-highlighting)
9364 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9365 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9366 (todo-unarchive-items, todo-unmark-category): New commands.
9367 (todo-absolute-file-name, todo-add-to-buffer-list)
9368 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9369 (todo-basic-insert-item, todo-category-completions)
9370 (todo-category-number, todo-category-string-matcher-1)
9371 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9372 (todo-check-format, todo-clear-matches)
9373 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9374 (todo-current-category, todo-date-string-matcher)
9375 (todo-define-insertion-command, todo-diary-expired-matcher)
9376 (todo-diary-goto-entry, todo-diary-item-p)
9377 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9378 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9379 (todo-done-item-section-p, todo-done-separator)
9380 (todo-done-string-matcher, todo-files, todo-filter-items)
9381 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9382 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9383 (todo-insert-category-line, todo-insert-item-from-calendar)
9384 (todo-insert-sort-button, todo-insert-with-overlays)
9385 (todo-insertion-command-name, todo-insertion-key-bindings)
9386 (todo-label-to-key, todo-longest-category-name-length)
9387 (todo-make-categories-list, todo-mode-external-set)
9388 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9389 (todo-modes-set-3, todo-multiple-filter-files)
9390 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9391 (todo-read-category, todo-read-date, todo-read-dayname)
9392 (todo-read-file-name, todo-read-time)
9393 (todo-reevaluate-category-completions-files-defcustom)
9394 (todo-reevaluate-default-file-defcustom)
9395 (todo-reevaluate-filelist-defcustoms)
9396 (todo-reevaluate-filter-files-defcustom)
9397 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9398 (todo-reset-done-separator, todo-reset-done-separator-string)
9399 (todo-reset-done-string, todo-reset-global-current-todo-file)
9400 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9401 (todo-reset-prefix, todo-set-categories)
9402 (todo-set-date-from-calendar, todo-set-show-current-file)
9403 (todo-set-top-priorities, todo-short-file-name)
9404 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9405 (todo-total-item-counts, todo-update-buffer-list)
9406 (todo-update-categories-display, todo-update-categories-sexp)
9407 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9408 New functions.
9409 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9410 New major modes.
9411 (todo-categories, todo-display, todo-edit, todo-faces)
9412 (todo-filtered): New defgroups.
9413 (todo-archived-only, todo-button, todo-category-string, todo-date)
9414 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9415 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9416 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9417 (todo-add-item-if-new-category, todo-always-add-time-string)
9418 (todo-categories-align, todo-categories-archived-label)
9419 (todo-categories-category-label, todo-categories-diary-label)
9420 (todo-categories-done-label, todo-categories-number-separator)
9421 (todo-categories-todo-label, todo-categories-totals-label)
9422 (todo-category-completions-files, todo-completion-ignore-case)
9423 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9424 (todo-done-separator-string, todo-done-string)
9425 (todo-files-function, todo-filter-done-items, todo-filter-files)
9426 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9427 (todo-initial-category, todo-initial-file, todo-item-mark)
9428 (todo-legacy-date-time-regexp, todo-mode-line-function)
9429 (todo-nondiary-marker, todo-number-prefix)
9430 (todo-print-buffer-function, todo-show-current-file)
9431 (todo-show-done-only, todo-show-first, todo-show-with-done)
9432 (todo-skip-archived-categories, todo-top-priorities-overrides)
9433 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9434 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9435 New defcustoms.
9436 (todo-category-done, todo-date-pattern, todo-date-string-start)
9437 (todo-diary-items-buffer, todo-done-string-start)
9438 (todo-filtered-items-buffer, todo-item-start)
9439 (todo-month-abbrev-array, todo-month-name-array)
9440 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9441 (todo-top-priorities-buffer): New defconsts.
9442 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9443 (todo-categories-with-marks, todo-category-string-face)
9444 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9445 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9446 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9447 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9448 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9449 (todo-font-lock-keywords, todo-global-current-todo-file)
9450 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9451 (todo-insertion-commands-args)
9452 (todo-insertion-commands-args-genlist)
9453 (todo-insertion-commands-names, todo-insertion-map)
9454 (todo-key-bindings-t, todo-key-bindings-t+a)
9455 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9456 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9457 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9458 (todo-visited): New variables.
9459
9460 2013-06-21 Glenn Morris <rgm@gnu.org>
9461
9462 * play/cookie1.el (cookie-apropos): Add optional display argument.
9463 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9464 (psychoanalyze-pinhead): Use cookie-doctor.
9465
9466 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * emacs-lisp/package.el (tar-get-file-descriptor)
9469 (tar--extract): Declare.
9470
9471 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9472
9473 Extend flymake's warning predicate to be a function (bug#14217).
9474 * progmodes/flymake.el (flymake-warning-predicate): New.
9475 (flymake-parse-line): Use it.
9476 (flymake-warning-re): Make obsolete alias to
9477 `flymake-warning-predicate'.
9478
9479 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9482 (package-obsolete-list): Remove.
9483 (package-activate): Remove min-version argument. Add `force' argument.
9484 Adjust to new package-alist format.
9485 (package-mark-obsolete): Remove.
9486 (package-unpack): Force reload of the package's autoloads.
9487 (package-installed-p): Check builtins if the installed package is not
9488 recent enough.
9489 (package-initialize): Don't reset package-obsolete-list.
9490 Don't specify which package version to activate.
9491 (package-process-define-package, describe-package-1)
9492 (package-menu--generate): Adjust to new package-alist format.
9493
9494 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9495
9496 * allout-widgets.el (allout-widgets-mode-off)
9497 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9498 (allout-widgets-post-command-business)
9499 (allout-widgets-after-copy-or-kill-function)
9500 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9501 (allout-decorate-item-and-context)
9502 (allout-graphics-modification-handler): Fix typos in docstrings.
9503 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9504
9505 * cmuscheme.el (scheme-start-file): Doc fix.
9506 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9507 (scheme-input-filter): Use `string-match-p'.
9508
9509 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9510
9511 * dired-x.el: Use Dired consistently in docstrings.
9512
9513 * dired.el: Use Dired consistently in docstrings.
9514 (dired-readin, dired-mode): Use `setq-local'.
9515 (dired-switches-alist): Make defvar-local.
9516 (dired-buffers-for-dir): Use `zerop'.
9517 (dired-safe-switches-p, dired-switches-escape-p)
9518 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9519 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9520 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9521 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9522 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9523 (dired-toggle-marks, dired-mark-files-containing-regexp)
9524 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9525 (dired-flag-auto-save-files, dired-flag-backup-files):
9526 Use `looking-at-p'.
9527 (dired-mark-files-regexp, dired-build-subdir-alist):
9528 Use `string-match-p', `looking-at-p'.
9529
9530 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9531 (direct-print-region-helper): Use `string-match-p'.
9532
9533 2013-06-21 Leo Liu <sdl.web@gmail.com>
9534
9535 * comint.el (comint-redirect-results-list-from-process):
9536 Fix infinite loop.
9537
9538 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539
9540 * net/eww.el (eww-update-header-line-format): Quote % characters.
9541
9542 2013-06-21 Glenn Morris <rgm@gnu.org>
9543
9544 * play/cookie1.el (cookie): New custom group.
9545 (cookie-file): New option.
9546 (cookie-check-file): New function.
9547 (cookie): Make it interactive. Make start and end messages optional.
9548 Interactively, display the result. Default to cookie-file.
9549 (cookie-insert): Default to cookie-file.
9550 (cookie-snarf): Make start and end messages optional.
9551 Default to cookie-file. Use with-temp-buffer.
9552 (cookie-read): Rename from read-cookie.
9553 Make start and end messages optional. Default to cookie-file.
9554 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9555 Do not autoload it.
9556 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9557 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9558
9559 2013-06-21 Leo Liu <sdl.web@gmail.com>
9560
9561 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9562
9563 2013-06-21 Glenn Morris <rgm@gnu.org>
9564
9565 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9566
9567 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9568 Daniel Hackney <dan@haxney.org>
9569
9570 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9571 Consolidate the single-file vs tarball code.
9572 (package-desc-suffix): New function.
9573 (package-desc-full-name): Don't bother inlining it.
9574 (package-load-descriptor): Return the new package-desc.
9575 (package-mark-obsolete): Remove unused arg `package'.
9576 (package-unpack): Make it work for single files as well.
9577 Make it update package-alist.
9578 (package--make-autoloads-and-stuff): Rename from
9579 package--make-autoloads-and-compile. Don't compile any more.
9580 (package--compile): New function.
9581 (package-generate-description-file): New function, extracted from
9582 package-unpack-single.
9583 (package-unpack-single): Remove.
9584 (package--with-work-buffer): Add indentation and debugging info.
9585 (package-download-single): Remove.
9586 (package-install-from-archive): Rename from package-download-tar, make
9587 it take a pkg-desc, and make it work for single files as well.
9588 (package-download-transaction): Simplify.
9589 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9590 external tar program.
9591 (package-install-from-buffer): Remove `pkg-desc' argument.
9592 Use package-tar-file-info for tar-mode buffers.
9593 (package-install-file): Simplify accordingly.
9594 (package-archive-base): Change to take a pkg-desc.
9595 * tar-mode.el (tar--check-descriptor): New function, extracted from
9596 tar-get-descriptor.
9597 (tar-get-descriptor): Use it.
9598 (tar-get-file-descriptor): New function.
9599 (tar--extract): New function, extracted from tar-extract.
9600 (tar--extract): Use it.
9601 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9602 case the summary uses non-ascii. Adjust to new calling convention of
9603 package-tar-file-info.
9604
9605 2013-06-21 Leo Liu <sdl.web@gmail.com>
9606
9607 * comint.el (comint-redirect-results-list-from-process):
9608 Fix random delay. (Bug#14681)
9609
9610 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9611
9612 * profiler.el (profiler-format-number): Use log, not log10.
9613
9614 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9615
9616 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9617
9618 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9621 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9622 yet available.
9623 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9624 (AUTOGENEL): ... here.
9625 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9626 (cl--defsubst-expand): Use it.
9627
9628 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9629
9630 * subr.el (log10): Move here from C code, and declare as obsolete.
9631 All uses of (log10 X) replaced with (log X 10).
9632
9633 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9634
9635 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9636 Declare with `defvar-local'.
9637 (tabulated-list-use-header-line, tabulated-list-entries)
9638 (tabulated-list-padding, tabulated-list-printer)
9639 (tabulated-list-sort-key): Declare with `defvar-local'.
9640 (tabulated-list-init-header, tabulated-list-print-fake-header):
9641 Use `setq-local'.
9642
9643 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9644
9645 * arc-mode.el (archive-mode): Add `archive-write-file' to
9646 `write-contents-functions' also for remote files. (Bug#14652)
9647
9648 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9649
9650 * cus-edit.el (custom-commands): Fix typos.
9651 (custom-display): Fix tooltip text.
9652 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9653 Fix typos in docstrings.
9654 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9655 (custom-unlispify-menu-entry, custom-magic-value-create)
9656 (custom-add-see-also, custom-group-value-create): Use ?\s.
9657 (custom-guess-type, customize-apropos, editable-field)
9658 (custom-face-value-create): Use `string-match-p'.
9659 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9660
9661 * custom.el (custom-load-symbol): Use `string-match-p'.
9662
9663 * ansi-color.el: Convert to lexical binding.
9664 (ansi-colors): Fix URL.
9665 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9666 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9667 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9668
9669 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670
9671 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9672
9673 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9674
9675 2013-06-19 Tom Tromey <tromey@redhat.com>
9676
9677 * net/eww.el (eww-top-url): Remove.
9678 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9679 (eww-render): Set new variables. Don't set eww-top-url.
9680 (eww-handle-link): Handle "prev", "home", and "contents".
9681 Downcase the rel text.
9682 (eww-top-url): Choose best top URL.
9683
9684 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9685
9686 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9687 relying in widget.el. Using widget.el leads to too many
9688 user interface inconsistencies.
9689 (eww-self-insert): Implement entering commands in text fields.
9690 (eww-process-text-input): New function to make text input field editing
9691 work.
9692 (eww-submit): Rewrite to use the new-style form methods.
9693 (eww-select-display): Display the correct selected item.
9694 (eww-change-select): Implement changing the select value.
9695 (eww-toggle-checkbox): Implement radio/checkboxes.
9696 (eww-update-field): Fix compilation error.
9697 (eww-tag-textarea): Implement <textarea>.
9698
9699 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9700 we don't shadow mode-specific bindings.
9701
9702 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9703 nothing to push.
9704
9705 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9706
9707 2013-06-19 Glenn Morris <rgm@gnu.org>
9708
9709 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9710
9711 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9712
9713 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9714 not needed.
9715
9716 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9717
9718 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9719
9720 * net/browse-url.el (browse-url-browser-function):
9721 `eww-browse-url' has the right calling signature, `eww' does not.
9722
9723 2013-06-19 Glenn Morris <rgm@gnu.org>
9724
9725 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9726 Only eval autoloaded macros.
9727 (byte-compile-autoload): Only give the macro warning for macros.
9728
9729 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9730 (ps-underlined-faces): Declare.
9731
9732 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9733 (speedbar-add-supported-extension): Declare.
9734
9735 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9736 Don't include a date stamp in the header of the generated file;
9737 it leads to needless differences between output files.
9738
9739 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9740
9741 * net/secrets.el (secrets-struct-secret-content-type):
9742 Replace check of introspection data by a test call of "CreateItem".
9743 Some servers do not offer introspection.
9744
9745 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * electric.el (electric-pair-mode): Improve interaction with
9748 electric-layout-mode.
9749 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9750 (electric-pair-syntax): Use text-mode-syntax-table in comments
9751 and strings.
9752 (electric-pair--insert): New function.
9753 (electric-pair-post-self-insert-function): Use it and
9754 electric--after-char-pos.
9755
9756 2013-06-19 Leo Liu <sdl.web@gmail.com>
9757
9758 * progmodes/octave.el (octave-help): Fix regexp.
9759
9760 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9763 (shr-table-horizontal-line): Allow nil as a value, and change the
9764 default.
9765 (shr-insert-table-ruler): Respect the nil value.
9766
9767 2013-06-18 Tom Tromey <tromey@barimba>
9768
9769 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9770 New defvars.
9771 (eww-open-file): New defun.
9772 (eww-render): Initialize new variables.
9773 (eww-display-html): Handle "link" and "a".
9774 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9775 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9776 (eww-back-url): Rename from eww-previous-url.
9777 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9778 New defuns.
9779
9780 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9781
9782 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9783 Distinguish ternary operator tokens from slash symbol and slash
9784 char literal.
9785
9786 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9787
9788 Convert symbol prettification into minor mode and global minor mode.
9789
9790 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9791 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9792 (prettify-symbols--keywords): Rename from
9793 `prog-prettify-symbols-alist' and make a local defvar.
9794 (prettify-symbols--compose-symbol): Rename from
9795 `prog--prettify-font-lock-compose-symbol'.
9796 (prettify-symbols--make-keywords): Rename from
9797 `prog-prettify-font-lock-symbols-keywords' and simplify.
9798 (prog-prettify-install): Remove.
9799 (prettify-symbols-mode): New minor mode, based on
9800 `prog-prettify-install'.
9801 (turn-on-prettify-symbols-mode): New function.
9802 (global-prettify-symbols-mode): New globalized minor mode.
9803
9804 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9805 * progmodes/cfengine.el (cfengine3-mode):
9806 * progmodes/perl-mode.el (perl-mode): Don't call
9807 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9808
9809 2013-06-18 Juri Linkov <juri@jurta.org>
9810
9811 * files-x.el (modify-file-local-variable-message): New function.
9812 (modify-file-local-variable)
9813 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9814 and call `modify-file-local-variable-message' when it's non-nil.
9815 (add-file-local-variable, delete-file-local-variable)
9816 (add-file-local-variable-prop-line)
9817 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9818 and use it. (Bug#9820)
9819
9820 2013-06-18 Juri Linkov <juri@jurta.org>
9821
9822 * emulation/vi.el (vi-shell-op):
9823 * emulation/vip.el (vip-execute-com, ex-command):
9824 * emulation/viper-cmd.el (viper-exec-bang):
9825 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9826 the call of `shell-command-on-region'. (Bug#14637)
9827
9828 * simple.el (shell-command-on-region): Doc fix.
9829
9830 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9833 (bug#14633).
9834
9835 2013-06-18 Glenn Morris <rgm@gnu.org>
9836
9837 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9838
9839 * newcomment.el (comment-search-forward, comment-search-backward):
9840 Doc fix. (Bug#14376)
9841
9842 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9843
9844 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9845 (buffer-face-mode-invoke): Doc fix.
9846
9847 2013-06-18 Matthias Meulien <orontee@gmail.com>
9848
9849 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9850 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9851
9852 2013-06-18 Glenn Morris <rgm@gnu.org>
9853
9854 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9855 Replace obsolete function generic-make-keywords with its expansion.
9856
9857 * progmodes/python.el (ffap-alist): Declare.
9858
9859 * textmodes/reftex.el (bibtex-mode-map): Declare.
9860
9861 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9864 (package-unpack, package-unpack-single): Return the pkg-dir.
9865 (package-download-transaction): Use it to update package-alist.
9866
9867 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9868
9869 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9870 possible choice.
9871
9872 2013-06-17 Juri Linkov <juri@jurta.org>
9873
9874 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9875
9876 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9877
9878 * emacs-lisp/package.el (package-load-descriptor):
9879 Remove `with-syntax-table' call, `read' doesn't need it.
9880 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9881
9882 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9883
9884 * startup.el (command-line): Expand package name returned by
9885 `package--description-file' (bug#14639).
9886
9887 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9888
9889 * emacs-lisp/package.el (package-load-descriptor): Do not call
9890 `emacs-lisp-mode', just use its syntax table.
9891
9892 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9893
9894 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9895 `font-lock-extra-managed-props' if any prettifying keyword is added.
9896 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9897 (prog-mode): Use `setq-local'.
9898
9899 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * international/characters.el (standard-case-table): Set syntax of ?»
9902 and ?« to punctuation.
9903
9904 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9907 Save relevant match data before calling `syntax-ppss' (bug#14595).
9908
9909 2013-06-15 Juri Linkov <juri@jurta.org>
9910
9911 * files-x.el (modify-file-local-variable-prop-line): Add local
9912 variables to the end of the existing comment on the first line.
9913 Use `file-auto-mode-skip' to skip interpreter magic line,
9914 and also skip XML declaration.
9915
9916 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * startup.el (package--builtin-versions): New var.
9919 (package-subdirectory-regexp): Remove.
9920 (package--description-file): Hard code its value instead.
9921
9922 * emacs-lisp/package.el: Don't activate packages older than builtin.
9923 (package-obsolete-list): Rename from package-obsolete-alist, and make
9924 it into a simple list of package-desc.
9925 (package-strip-version): Remove.
9926 (package-built-in-p): Use package--builtin-versions.
9927 (package-mark-obsolete): Simplify.
9928 (package-process-define-package): Mark it obsolete if older than the
9929 builtin version.
9930 (package-handle-response): Use line-end-position.
9931 (package-read-archive-contents, package--download-one-archive):
9932 Simplify.
9933 (package--add-to-archive-contents): Skip if older than the builtin or
9934 installed version.
9935 (package-menu-describe-package): Fix last change.
9936 (package-list-unversioned): New var.
9937 (package-menu--generate): Use it.
9938
9939 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9940 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9941 (autoload-builtin-package-versions): New variable.
9942 (autoload-generate-file-autoloads): Use them.
9943 Remove the list of autoloaded functions/macros from the
9944 (autoload...) comments.
9945
9946 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9947
9948 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9949
9950 * simple.el (line-move-partial): Don't jump to the next screen
9951 line as soon as it becomes visible. Instead, continue enlarging
9952 the vscroll until the portion of a tall screen line that's left on
9953 display is about the height of the frame's default font.
9954 (Bug#14567)
9955
9956 2013-06-15 Glenn Morris <rgm@gnu.org>
9957
9958 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9959 compilation-error-regexp-alist void, or local while let-bound.
9960
9961 * progmodes/make-mode.el (makefile-mode-syntax-table):
9962 Treat "=" as punctuation. (Bug#14614)
9963
9964 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9965
9966 * help-fns.el (describe-variable):
9967 Add extra line for permanent-local variables.
9968
9969 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9970
9971 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9972 Add export, import, library. (Bug#9164)
9973 (library): Set indent function.
9974
9975 2013-06-14 Glenn Morris <rgm@gnu.org>
9976
9977 * term/xterm.el (xterm--query):
9978 Stop after first matching handler. (Bug#14615)
9979
9980 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9981
9982 Add support for dired in saveplace.
9983 * dired.el (dired-initial-position-hook): New variable.
9984 (dired-initial-position): Call hook to place cursor position.
9985 * saveplace.el (save-place-to-alist): Add dired position.
9986 (save-place-dired-hook): New function.
9987
9988 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9991 through a symbol rather than letrec.
9992
9993 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9994 (package-desc): Add `dir' field.
9995 (package-desc-full-name): New function.
9996 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9997 (package-maybe-load-descriptor): Remove.
9998 (package-load-all-descriptors): Just call package-load-descriptor.
9999 (package--disabled-p): New function.
10000 (package-desc-vers, package-desc-doc): Remove aliases.
10001 (package--dir): Remove function.
10002 (package-activate): Check if a package is disabled.
10003 (package-process-define-package): New function, extracted from
10004 define-package.
10005 (define-package): Turn into a place holder.
10006 (package-unpack-single, package-tar-file-info):
10007 Use package--description-file.
10008 (package-compute-transaction): Use package--disabled-p.
10009 (package-download-transaction): Don't call
10010 package-maybe-load-descriptor since they're all loaded anyway.
10011 (package-install): Change argument to be a pkg-desc.
10012 (package-delete): Use a single pkg-desc argument.
10013 (describe-package-1): Use package-desc-dir instead of package--dir.
10014 Use package-desc property instead of package-symbol.
10015 (package-install-button-action): Adjust accordingly.
10016 (package--push): Rewrite.
10017 (package-menu--print-info): Adjust accordingly. Change the ID format
10018 to be a pkg-desc.
10019 (package-menu-describe-package, package-menu-get-status)
10020 (package-menu--find-upgrades, package-menu-mark-upgrades)
10021 (package-menu-execute, package-menu--name-predicate):
10022 Adjust accordingly.
10023 * startup.el (package--description-file): New function.
10024 (command-line): Use it.
10025 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10026 Use package-desc-version.
10027
10028 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10029 (byte-compile-preprocess): Use it.
10030 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10031 can't quite recognize.
10032 (byte-compile-add-to-list): Remove.
10033 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10034 (cconv-closure-convert): Add assertion.
10035
10036 * emacs-lisp/map-ynp.el: Use lexical-binding.
10037 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10038 Factor out some repeated code.
10039
10040 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * subr.el (with-eval-after-load): New macro.
10043 (eval-after-load): Allow form to be a function.
10044 take advantage of lexical-binding.
10045 (do-after-load-evaluation): Use dolist and adjust to new format.
10046 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10047
10048 2013-06-13 Juri Linkov <juri@jurta.org>
10049
10050 * replace.el (perform-replace): Display "symbol " and other search
10051 modes from `isearch-message-prefix' in the *Help* buffer.
10052
10053 * isearch.el (isearch-query-replace): Add " symbol" and other
10054 possible search modes from `isearch-message-prefix' to the prompt.
10055 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10056 when reading a regexp to collect.
10057
10058 2013-06-13 Juri Linkov <juri@jurta.org>
10059
10060 * isearch.el (word-search-regexp): Match whitespace if the search
10061 string begins or ends in whitespace. The LAX arg is applied to
10062 both ends of the search string. Use `regexp-quote' and explicit
10063 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10064 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10065 boundaries are replaced with symbol boundaries, and characters
10066 between symbols match non-word non-symbol syntax. (Bug#14602)
10067
10068 2013-06-13 Juri Linkov <juri@jurta.org>
10069
10070 * isearch.el (isearch-del-char): Don't exceed the length of
10071 `isearch-string' by the prefix arg. (Bug#14563)
10072
10073 2013-06-13 Juri Linkov <juri@jurta.org>
10074
10075 * isearch.el (isearch-yank-word, isearch-yank-line)
10076 (isearch-char-by-name, isearch-quote-char)
10077 (isearch-printing-char, isearch-process-search-char):
10078 Add optional count prefix arg. (Bug#14563)
10079
10080 * international/isearch-x.el
10081 (isearch-process-search-multibyte-characters):
10082 Add optional count prefix arg.
10083
10084 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10087 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10088 lexical-binding.
10089
10090 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10091
10092 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10093
10094 2013-06-13 Glenn Morris <rgm@gnu.org>
10095
10096 * startup.el (tty-handle-args):
10097 Don't just discard "--" and anything after. (Bug#14608)
10098
10099 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10100
10101 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10102
10103 Implement changes in Secret Service API. Make it backward compatible.
10104 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10105 (secrets-create-item): Use it. Prefix properties with interface.
10106
10107 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10108
10109 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10110 (term-emulate-terminal): Respect term-suppress-hard-newline.
10111
10112 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10113
10114 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10115 Only remove a `thumb-file' overlay. (Bug#14548)
10116
10117 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10118
10119 * mail/reporter.el (reporter-submit-bug-report):
10120 Handle missing package-name. (Bug#14600)
10121
10122 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10123
10124 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10125 (reftex-citation-prompt, reftex-default-bibliography)
10126 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10127 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10128 (reftex-bib-sort-author, reftex-bib-sort-year)
10129 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10130 (reftex-extract-bib-entries-from-thebibliography)
10131 (reftex-get-bibkey-default, reftex-get-bib-names)
10132 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10133 (reftex-format-bib-entry, reftex-parse-bibitem)
10134 (reftex-format-bibitem, reftex-do-citation)
10135 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10136 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10137 (reftex-insert-bib-matches, reftex-format-citation)
10138 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10139 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10140 existing comments into docstrings.
10141
10142 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10143
10144 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10145
10146 2013-06-12 Andreas Schwab <schwab@suse.de>
10147
10148 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10149 for auto-save files.
10150
10151 2013-06-12 Glenn Morris <rgm@gnu.org>
10152
10153 * ido.el (ido-delete-ignored-files): Remove.
10154 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10155 Go back to calling ido-ignore-item-p directly.
10156
10157 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10158
10159 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10160
10161 * ido.el (ido-delete-ignored-files): New function,
10162 split from ido-make-file-list-1.
10163 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10164 (ido-make-file-list-1): Use ido-delete-ignored-files.
10165
10166 2013-06-12 Leo Liu <sdl.web@gmail.com>
10167
10168 * progmodes/octave.el (inferior-octave-startup)
10169 (inferior-octave-completion-table)
10170 (inferior-octave-track-window-width-change)
10171 (octave-eldoc-function-signatures, octave-help)
10172 (octave-find-definition): Use single quoted strings.
10173 (inferior-octave-startup-args): Change default value.
10174 (inferior-octave-startup): Do not hard code "-i" and
10175 "--no-line-editing".
10176 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10177 (inferior-octave-directory-tracker): Use it.
10178 (octave-goto-function-definition): Robustify.
10179 (octave-help): Support highlighting operators in 'See also'.
10180 (octave-find-definition): Find subfunctions only in Octave mode.
10181
10182 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * help-fns.el (help-fns--compiler-macro): If the handler function is
10185 named, then put a link to it.
10186 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10187 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10188 (cl-typep): Use it.
10189 (cl-eval-when): Simplify debug spec.
10190 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10191 compiler-macro function instead of setting `compiler-macro-file'.
10192
10193 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10194
10195 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10196 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10197
10198 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10199 Daniel Hackney <dan@haxney.org>
10200
10201 First part of Daniel Hackney's patch to package.el.
10202 * emacs-lisp/package.el: Use defstruct.
10203 (package-desc): New, main struct.
10204 (package--bi-desc, package--ac-desc): New structs, used to describe the
10205 format in external files.
10206 (package-desc-vers): Replace with package-desc-version accessor.
10207 (package-desc-doc): Replace with package-desc-summary accessor.
10208 (package-activate-1): Remove `package' arg since the pkg-vec now
10209 includes the name.
10210 (define-package): Use package-desc-from-define.
10211 (package-unpack-single): Change file-name arg to be a symbol.
10212 (package--add-to-archive-contents): Use package-desc-create and new
10213 accessor functions to package--ac-desc.
10214 (package-buffer-info, package-tar-file-info): Return a package-desc.
10215 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10216 arg to be a package-desc.
10217 (package-install-file): Adjust accordingly. Use \' to match EOS.
10218 (package--from-builtin): New function.
10219 (describe-package-1, package-menu--generate): Use it.
10220 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10221 (package-generate-autoloads): Idem and return the name of the file.
10222 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10223 Change pkg-info arg to be a package-desc.
10224 Use package-make-ac-desc.
10225 (package-upload-file): Use \' to match EOS.
10226 * finder.el (finder-compile-keywords): Use package-make-builtin.
10227
10228 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * vc/vc.el (vc-deduce-fileset): Change error message.
10231 (vc-read-backend): New function.
10232 (vc-next-action): Use it.
10233
10234 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10235
10236 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10237 (prolog-font-lock-keywords): Use regexp-opt instead.
10238 Don't manually highlight strings.
10239 (prolog-mode-variables): Simplify comment-start-skip.
10240 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10241
10242 * emacs-lisp/generic.el (generic--normalise-comments)
10243 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10244 (generic-mode-set-comments): Use them.
10245 (generic-bracket-support): Use setq-local.
10246 (generic-make-keywords-list): Declare obsolete.
10247
10248 2013-06-11 Glenn Morris <rgm@gnu.org>
10249
10250 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10251 Prettify after setting font-lock-defaults. (Bug#14574)
10252
10253 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * replace.el (query-replace, occur-read-regexp-defaults-function)
10256 (replace-search):
10257 * subr.el (declare-function, number-sequence, local-set-key)
10258 (substitute-key-definition, locate-user-emacs-file)
10259 (with-silent-modifications, split-string, eval-after-load):
10260 Fix typos, remove unneeded backslashes and reflow some docstrings.
10261
10262 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10265 default for Elisp files.
10266
10267 2013-06-11 Glenn Morris <rgm@gnu.org>
10268
10269 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10270 although define-derived-mode was doing this anyway. (Bug#14583)
10271
10272 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10273
10274 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10275 Fix make-variable-buffer-local call to refer to the correct variable.
10276
10277 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10278
10279 * eshell/em-term.el (eshell-visual-commands)
10280 (eshell-visual-subcommands, eshell-visual-options):
10281 Add summary line to docstrings. Add cross-references.
10282
10283 2013-06-10 Glenn Morris <rgm@gnu.org>
10284
10285 * epa.el (epa-read-file-name): New function. (Bug#14510)
10286 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10287
10288 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10289
10290 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10291 output redirection to be ignored with visual commands.
10292
10293 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10294
10295 * eshell/em-term.el (eshell-visual-command-p): New function.
10296 (eshell-term-initialize): Move long lambda to separate function
10297 eshell-visual-command-p.
10298 * eshell/em-dirs.el (eshell-dirs-initialise):
10299 * eshell/em-script.el (eshell-script-initialize):
10300 Add missing #' to lambda.
10301
10302 2013-06-08 Leo Liu <sdl.web@gmail.com>
10303
10304 * progmodes/octave.el (octave-add-log-current-defun): New function.
10305 (octave-mode): Set add-log-current-defun-function.
10306 (octave-goto-function-definition): Do not move point if not found.
10307 (octave-find-definition): Enhance to try subfunctions first.
10308
10309 2013-06-08 Glenn Morris <rgm@gnu.org>
10310
10311 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10312 (byte-compile-backward-char, byte-compile-backward-word):
10313 Improve previous change, to handle non-explicit nil.
10314
10315 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10318 (smie--opener/closer-at-point): New function.
10319 (smie--matching-block-data): Use it. Don't match from right after an
10320 opener or right before a closer. Obey smie-blink-matching-inners.
10321 Don't signal a mismatch for repeated inners like "switch..case..case".
10322
10323 2013-06-07 Leo Liu <sdl.web@gmail.com>
10324
10325 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10326 to t. (Bug#14303)
10327 (octave-function-header-regexp): Fix. (Bug#14570)
10328 (octave-help-mode-finish-hook, octave-help-mode-finish):
10329 Remove. Just use temp-buffer-show-hook.
10330
10331 * newcomment.el (comment-search-backward): Revert last change.
10332 (Bug#14434)
10333
10334 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10335
10336 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10337
10338 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10339 through xargs, to avoid failure due to MS-Windows limitations on
10340 command-line length.
10341
10342 2013-06-06 Glenn Morris <rgm@gnu.org>
10343
10344 * font-lock.el (lisp-font-lock-keywords-2):
10345 Treat user-error like error.
10346
10347 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10348 (byte-compile-backward-char, byte-compile-backward-word):
10349 Handle explicit nil arguments. (Bug#14565)
10350
10351 2013-06-05 Alan Mackenzie <acm@muc.de>
10352
10353 * isearch.el (isearch-allow-prefix): New user option.
10354 (isearch-other-meta-char): Don't exit isearch when a prefix
10355 argument is typed whilst `isearch-allow-prefix' is non-nil.
10356 (Bug#9706)
10357
10358 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * autorevert.el (auto-revert-notify-handler): Use memq.
10361 Hide assertion failure.
10362
10363 * skeleton.el: Use cl-lib.
10364 (skeleton-further-elements): Use defvar-local.
10365 (skeleton-insert): Use cl-progv.
10366
10367 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10368
10369 * progmodes/prog-mode.el (prog-prettify-symbols)
10370 (prog-prettify-install): Update docstrings.
10371
10372 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * simple.el: Move all the prog-mode code to prog-mode.el.
10375 * progmodes/prog-mode.el: New file.
10376 * loadup.el: Add prog-mode.el.
10377
10378 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10379
10380 * simple.el (prog-prettify-symbols): Add version.
10381 (prog-prettify-install): Add convenience function to prettify symbols.
10382
10383 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10384 (perl--augmented-font-lock-keywords-1)
10385 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10386 variables and use it.
10387
10388 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10389 (cfengine3-mode): Remove unneeded variable and use it.
10390
10391 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10392 (lisp--augmented-font-lock-keywords-1)
10393 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10394 Remove unneeded variables and use it.
10395
10396 2013-06-05 João Távora <joaotavora@gmail.com>
10397
10398 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10399 to point when opening the connection. (Bug#14380)
10400
10401 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * subr.el (load-history-regexp, load-history-filename-element)
10404 (eval-after-load, after-load-functions, do-after-load-evaluation)
10405 (eval-next-after-load, display-delayed-warnings)
10406 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10407 definition of save-match-data.
10408 (overriding-local-map): Remove accidental obsolescence declaration.
10409
10410 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10411
10412 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10413
10414 Generalize symbol prettify support to prog-mode and implement it
10415 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10416 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10417 (prog--prettify-font-lock-compose-symbol)
10418 (prog-prettify-font-lock-symbols-keywords): New variables and
10419 functions to support symbol prettification.
10420 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10421 (lisp--augmented-font-lock-keywords-1)
10422 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10423 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10424 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10425 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10426 Implement prettify of -> => :: strings.
10427 * progmodes/perl-mode.el (perl-prettify-symbols)
10428 (perl--font-lock-compose-symbol)
10429 (perl--font-lock-symbols-keywords): Move to prog-mode.
10430 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10431 (perl-font-lock-keywords-1)
10432 (perl-font-lock-keywords-2): Remove explicit prettify support.
10433 (perl--augmented-font-lock-keywords)
10434 (perl--augmented-font-lock-keywords-1)
10435 (perl--augmented-font-lock-keywords-2, perl-mode):
10436 Implement prettify support.
10437
10438 2013-06-05 Leo Liu <sdl.web@gmail.com>
10439
10440 Re-implement smie matching block highlight using
10441 show-paren-data-function. (Bug#14395)
10442 * emacs-lisp/smie.el (smie-matching-block-highlight)
10443 (smie--highlight-matching-block-overlay)
10444 (smie--highlight-matching-block-lastpos)
10445 (smie-highlight-matching-block)
10446 (smie-highlight-matching-block-mode): Remove.
10447 (smie--matching-block-data-cache): New variable.
10448 (smie--matching-block-data): New function.
10449 (smie-setup): Use smie--matching-block-data for
10450 show-paren-data-function.
10451
10452 * progmodes/octave.el (octave-mode-menu): Fix.
10453 (octave-find-definition): Skip garbage lines.
10454
10455 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 Fix compilation error with simultaneous dynamic+lexical scoping.
10458 Add warning when a defvar appears after the first let-binding.
10459 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10460 (byte-compile-close-variables): Initialize it.
10461 (byte-compile--declare-var): New function.
10462 (byte-compile-file-form-defvar)
10463 (byte-compile-file-form-define-abbrev-table)
10464 (byte-compile-file-form-custom-declare-variable): Use it.
10465 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10466 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10467 (byte-compile-bind): Handle dynamic bindings that shadow
10468 lexical bindings.
10469 (byte-compile-unbind): Make arg non-optional.
10470 (byte-compile-let): Simplify.
10471 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10472 (cconv--analyse-function, cconv-analyse-form): Populate it.
10473 Protect byte-compile-bound-variables to limit the scope of defvars.
10474 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10475 Remove unneeded rule for `declare'.
10476
10477 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10478 so as to avoid depending on cl-adjoin at run-time.
10479 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10480
10481 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10482 (macroexp--warn-and-return): Use it.
10483
10484 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * subr.el: Convert to lexical binding.
10487 (overriding-local-map): Make obsolete.
10488 (add-to-list): Doc fix. Add compiler macro.
10489 (read-key): Swap values of local maps.
10490
10491 2013-06-05 Leo Liu <sdl.web@gmail.com>
10492
10493 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10494
10495 2013-06-04 Leo Liu <sdl.web@gmail.com>
10496
10497 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10498 (compilation-auto-jump): Suppress the "Mark set" message to give
10499 way to exit message.
10500
10501 2013-06-04 Alan Mackenzie <acm@muc.de>
10502
10503 Remove faulty optimisation from indentation calculation.
10504 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10505 search limit based on 2000 characters back from indent-point.
10506
10507 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10508
10509 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10510
10511 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * emacs-lisp/lisp.el: Use lexical-binding.
10514 (lisp--local-variables-1, lisp--local-variables): New functions.
10515 (lisp--local-variables-completion-table): New var.
10516 (lisp-completion-at-point): Use it complete let-bound vars.
10517
10518 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10519 eagerly (bug#14422).
10520
10521 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * autorevert.el (auto-revert-notify-enabled)
10524 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10525 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10526 (auto-revert-notify-handler): Handle also gfilenotify.
10527
10528 * subr.el (file-notify-handle-event): New defun. Replacing ...
10529 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10530 Remove.
10531
10532 2013-06-03 Juri Linkov <juri@jurta.org>
10533
10534 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10535 `M-s h .'. (Bug#14427)
10536
10537 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10538 command `hi-lock-face-symbol-at-point'.
10539 (hi-lock-face-symbol-at-point): New command.
10540 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10541 (hi-lock-menu): Add `highlight-symbol-at-point'.
10542 (hi-lock-mode): Doc fix.
10543
10544 * isearch.el (isearch-forward-symbol-at-point): New command.
10545 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10546 (isearch-highlight-regexp): Add a regexp which matches
10547 words/symbols for word/symbol mode.
10548
10549 * subr.el (find-tag-default-bounds): New function with the body
10550 mostly moved from `find-tag-default'.
10551 (find-tag-default): Move most code to `find-tag-default-bounds',
10552 call it and apply `buffer-substring-no-properties' afterwards.
10553
10554 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10555
10556 * eshell/em-term.el (eshell-term-initialize):
10557 Use `cl-intersection' rather than `intersection'.
10558
10559 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10560
10561 * vc/log-view.el: Doc fix.
10562 (log-view-mode-map): Copy keymap from `special-mode-map'.
10563
10564 2013-06-02 Eric Ludlam <zappo@gnu.org>
10565
10566 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10567 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10568 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10569 (eieio-unbound, eieio-default-superclass)
10570 (eieio--define-field-accessors, method-static, method-before)
10571 (method-primary, method-after, method-num-lists)
10572 (method-generic-before, method-generic-primary)
10573 (method-generic-after, method-num-slots)
10574 (eieio-specialized-key-to-generic-key)
10575 (eieio--check-type, class-v, class-p)
10576 (eieio-class-name, define-obsolete-function-alias)
10577 (eieio-class-parents-fast, eieio-class-children-fast)
10578 (same-class-fast-p, class-constructor, generic-p)
10579 (generic-primary-only-p, generic-primary-only-one-p)
10580 (class-option-assoc, class-option, eieio-object-p)
10581 (class-abstract-p, class-method-invocation-order)
10582 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10583 (eieio-class-un-autoload, eieio-defclass)
10584 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10585 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10586 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10587 (eieio-defgeneric-reset-generic-form)
10588 (eieio-defgeneric-form-primary-only)
10589 (eieio-defgeneric-reset-generic-form-primary-only)
10590 (eieio-defgeneric-form-primary-only-one)
10591 (eieio-defgeneric-reset-generic-form-primary-only-one)
10592 (eieio-unbind-method-implementations)
10593 (eieio--defmethod, eieio--typep)
10594 (eieio-perform-slot-validation, eieio-validate-slot-value)
10595 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10596 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10597 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10598 (eieio-slot-name-index, eieio-class-slot-name-index)
10599 (eieio-set-defaults, eieio-initarg-to-attribute)
10600 (eieio-attribute-to-initarg, eieio-c3-candidate)
10601 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10602 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10603 (eieio-class-precedence-list, eieio-generic-call-methodname)
10604 (eieio-generic-call-arglst, eieio-generic-call-key)
10605 (eieio-generic-call-next-method-list)
10606 (eieio-pre-method-execution-functions, eieio-generic-call)
10607 (eieio-generic-call-primary-only, eieiomt-method-list)
10608 (eieiomt-optimizing-obarray, eieiomt-install)
10609 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10610 (eieio-generic-form, eieio-defmethod, make-obsolete)
10611 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10612 (defclass): Remove `eval-and-compile' from macro.
10613 (call-next-method, shared-initialize): Instead of using
10614 `scoped-class' variable, use new eieio--scoped-class, and
10615 eieio--with-scoped-class.
10616 (initialize-instance): Rename local variable 'scoped-class' to
10617 'this-class' to remove ambiguitity from old global.
10618
10619 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10620 eieio.el.
10621 (eieio--scoped-class-stack): New variable.
10622 (eieio--scoped-class): New fcn.
10623 (eieio--with-scoped-class): New scoping macro.
10624 (eieio-defclass): Use pushnew instead of add-to-list.
10625 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10626 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10627 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10628 `scoped-class' variable, use new eieio--scoped-class, and
10629 eieio--with-scoped-class.
10630
10631 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10632
10633 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10634
10635 * eshell/esh-ext.el (eshell-external-command): Pass args to
10636 `eshell-find-interpreter'.
10637 (eshell-find-interpreter): Add new second parameter ARGS.
10638
10639 * eshell/em-script.el (eshell-script-initialize): Add second arg
10640 to the function added as MATCH to `eshell-interpreter-alist'.
10641
10642 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10643 the function added as MATCH to `eshell-interpreter-alist'.
10644
10645 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10646 (eshell-visual-options): New defcustom.
10647 (eshell-escape-control-x): Adapt docstring.
10648 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10649 `eshell-visual-options' in addition to `eshell-visual-commands'.
10650 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10651
10652 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10653
10654 * progmodes/python.el (python-indent-block-enders): Add break,
10655 continue and raise keywords.
10656
10657 2013-06-01 Glenn Morris <rgm@gnu.org>
10658
10659 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10660
10661 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10662 * progmodes/cc-cmds.el (delete-forward-p):
10663 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10664 * progmodes/cc-engine.el (buffer-syntactic-context):
10665 * progmodes/cc-fonts.el (face-property-instance):
10666 * progmodes/cc-mode.el (set-keymap-parents):
10667 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10668 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10669 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10670 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10671 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10672
10673 * progmodes/cc-vars.el (other): Emacs has this widget since
10674 at least 21.1, so don't (re)define it.
10675
10676 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10677 Replace the obsolete alias pcomplete-arg-quote-list.
10678
10679 2013-06-01 Leo Liu <sdl.web@gmail.com>
10680
10681 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10682 punctuation syntax.
10683 (inferior-octave-minimal-columns)
10684 (inferior-octave-last-column-width): New variables.
10685 (inferior-octave-track-window-width-change): New function.
10686 (inferior-octave-mode): Adjust column width so that Octave output,
10687 for example from 'ls', can fit into the window nicely.
10688
10689 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10690
10691 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10692 Highlight expansions inside regexp literals.
10693
10694 2013-05-31 Glenn Morris <rgm@gnu.org>
10695
10696 * obsolete/sym-comp.el (symbol-complete):
10697 Replace obsolete completion-annotate-function.
10698
10699 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10700
10701 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10702
10703 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10704 New function, checks if point is inside a literal that allows
10705 expression expansion.
10706 (ruby-syntax-propertize-expansion): Use it.
10707 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10708 around the body.
10709
10710 2013-05-30 Juri Linkov <juri@jurta.org>
10711
10712 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10713 to "\M-si".
10714 (isearch-invisible): New variable.
10715 (isearch-forward): Doc fix.
10716 (isearch-mode): Set `isearch-invisible'
10717 to the value of `search-invisible'.
10718 (isearch-toggle-case-fold): Doc fix.
10719 (isearch-toggle-invisible): New command.
10720 (isearch-query-replace): Let-bind `search-invisible'
10721 to the value of `isearch-invisible'.
10722 (isearch-search): Use `isearch-invisible' instead of
10723 `search-invisible'. Let-bind `search-invisible'
10724 to the value of `isearch-invisible'. (Bug#11378)
10725
10726 2013-05-30 Juri Linkov <juri@jurta.org>
10727
10728 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10729 call when `query-flag' is nil and `search-invisible' is non-nil.
10730 (Bug#11746)
10731
10732 2013-05-30 Glenn Morris <rgm@gnu.org>
10733
10734 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10735
10736 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10737 (cc-require): Suppress spurious "noruntime" warnings.
10738 (cc-require-when-compile): Use fboundp, for sake of compiler.
10739
10740 * progmodes/cc-mode.el: Move load of cc-vars before that of
10741 cc-langs (which in turn loads cc-vars), to quieten compiler.
10742
10743 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * paren.el: Simplify the code.
10746 (show-paren-mode): Always start the timer.
10747 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10748 (show-paren--overlay, show-paren--overlay-1): Rename from
10749 show-paren-overlay and show-paren-overlay-1, and initialize to an
10750 overlay rather than to nil.
10751 (show-paren-function): Misc cleanup and simplifications.
10752
10753 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * paren.el (show-paren-data-function): New hook.
10756 (show-paren--default): New function, extracted from show-paren-function.
10757 (show-paren-function): Use show-paren-data-function.
10758
10759 2013-05-30 Glenn Morris <rgm@gnu.org>
10760
10761 * ielm.el (ielm-map, ielm-complete-symbol):
10762 Use completion-at-point rather than obsolete functions.
10763 (inferior-emacs-lisp-mode): Doc fix.
10764 Set completion-at-point-functions, rather than
10765 comint-dynamic-complete-functions.
10766
10767 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10768 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10769 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10770
10771 * image.el (image-animated-p): Tweak definition.
10772
10773 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10774 (rlogin-process-connection-type): Tweak default. Add set-after.
10775 (rlogin-host): Doc fix.
10776 (rlogin): Tweak prompt.
10777 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10778
10779 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10780 * progmodes/tcl.el (inferior-tcl-mode-map):
10781 Use completion-at-point rather than obsolete alias.
10782
10783 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10784
10785 * minibuffer.el (read-file-name-completion-ignore-case):
10786 Move before completion--in-region, for eager macro expansion.
10787
10788 2013-05-29 Juri Linkov <juri@jurta.org>
10789
10790 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10791 for total count of matching lines. Add `global-matches' for total
10792 count of matches. Rename `matches' to `lines' for count of
10793 matching lines. Add `matches' for count of matches.
10794 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10795 to `prev-line' for line number of prev match endpt.
10796 Increment `matches' for every match. Print the number of
10797 matching lines in the header.
10798 (occur-context-lines): Rename `lines' to `curr-line'.
10799 Rename `prev-lines' to `prev-line'. (Bug#14017)
10800
10801 2013-05-29 Juri Linkov <juri@jurta.org>
10802
10803 * replace.el (perform-replace): Add `skip-read-only-count',
10804 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10805 Increment them for corresponding conditions and report the number
10806 of skipped occurrences in the final message. (Bug#11746)
10807 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10808 (replace-string, replace-regexp): Doc fix.
10809
10810 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10813
10814 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10815 prog-mode-map (bug#14504).
10816
10817 2013-05-29 Leo Liu <sdl.web@gmail.com>
10818
10819 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10820 (octave-help): Small simplification.
10821
10822 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10823 off the highlight first.
10824
10825 2013-05-29 Glenn Morris <rgm@gnu.org>
10826
10827 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10828 Handle idlwave-last-system-routine-info-cons-cell being nil.
10829
10830 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10831 (idlwave-write-paths): Simplify via with-temp-buffer.
10832
10833 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10834 * emulation/cua-rect.el: Also load cua-base at run time.
10835
10836 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10837 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10838 (cperl-imenu-on-info): Require imenu.
10839
10840 2013-05-28 Alan Mackenzie <acm@muc.de>
10841
10842 Handle "capitalised keywords" correctly.
10843 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10844
10845 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10846
10847 * eshell/em-unix.el: Add -r option to cp.
10848
10849 2013-05-28 Glenn Morris <rgm@gnu.org>
10850
10851 * vc/vc-arch.el (vc-exec-after): Declare.
10852 (vc-switches): Autoload.
10853 * vc/vc-bzr.el: No need to require vc when compiling.
10854 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10855 (vc-resynch-buffer, vc-dir-refresh): Declare.
10856 (vc-setup-buffer, vc-switches): Autoload.
10857 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10858 (vc-resynch-buffer): Declare.
10859 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10860 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10861 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10862 (grep-read-regexp, grep-read-files, grep-expand-template)
10863 (vc-dir-refresh): Declare.
10864 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10865 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10866 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10867 * vc/vc-mtn.el (vc-exec-after): Declare.
10868 (vc-switches): Autoload.
10869 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10870 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10871 (vc-file-tree-walk): Declare.
10872 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10873 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10874 (vc-tag-precondition, vc-rename-master): Autoload.
10875 * vc/vc-svn.el (vc-exec-after): Declare.
10876 (vc-switches, vc-setup-buffer): Autoload.
10877 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10878 Autoload.
10879 (vc-resynch-buffer): Declare.
10880
10881 * obsolete/fast-lock.el (byte-compile-warnings):
10882 Don't warn about obsolete features in this obsolete file.
10883
10884 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10885 Move definition before use.
10886
10887 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10888 (dun-unix-verbs): Remove dun-zippy.
10889 (dun-zippy): Remove function.
10890
10891 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10892
10893 2013-05-27 Juri Linkov <juri@jurta.org>
10894
10895 * replace.el (replace-search): New function with code moved out
10896 from `perform-replace'.
10897 (replace-highlight, replace-dehighlight): Move function definitions
10898 up closer to `replace-search'. (Bug#11746)
10899
10900 2013-05-27 Juri Linkov <juri@jurta.org>
10901
10902 * replace.el (perform-replace): Ignore invisible matches.
10903 In addition to checking `query-replace-skip-read-only', also
10904 filter out matches by calling `run-hook-with-args-until-failure'
10905 on `isearch-filter-predicates', and also check `search-invisible'
10906 for t or call `isearch-range-invisible'.
10907 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10908
10909 2013-05-27 Juri Linkov <juri@jurta.org>
10910
10911 * isearch.el (isearch-filter-predicates): Rename from
10912 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10913 (isearch-message-prefix): Display text from the property
10914 `isearch-message-prefix' of the currently active filters.
10915 (isearch-search): Don't compare `isearch-filter-predicate' with
10916 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10917 on `isearch-filter-predicates'. Also check `search-invisible' for t
10918 or call `isearch-range-invisible'.
10919 (isearch-filter-visible): Make obsolete.
10920 (isearch-lazy-highlight-search):
10921 Call `run-hook-with-args-until-failure' on
10922 `isearch-filter-predicates' and use `isearch-range-invisible'.
10923
10924 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10925 `isearch-filter-predicates' instead of `funcall'ing
10926 `isearch-filter-predicate'.
10927 (Info-mode): Set `Info-isearch-filter' to
10928 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10929
10930 * dired-aux.el (dired-isearch-filter-predicate-orig):
10931 Remove variable.
10932 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10933 (dired-isearch-filenames-end): Add and remove
10934 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10935 instead of changing the value of `isearch-filter-predicate'.
10936 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10937 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10938 Put property `isearch-message-prefix' to "filename " on
10939 `dired-isearch-filter-filenames'.
10940
10941 * wdired.el (wdired-change-to-wdired-mode):
10942 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10943 locally instead of changing `isearch-filter-predicate'.
10944 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10945
10946 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10947
10948 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10949 return the commit hash (Bug#14459). Also set the
10950 `vc-git-detached' property.
10951 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10952 (vc-git-mode-line-string): Use the same help-echo format whether
10953 in detached mode or not, because we know the actual revision now.
10954 When in detached mode, shorten the revision to 7 chars.
10955
10956 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10957
10958 * emacs-lisp/easy-mmode.el (define-minor-mode):
10959 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10960 mode hook and provide a docstring.
10961
10962 2013-05-27 Alan Mackenzie <acm@muc.de>
10963
10964 Remove spurious syntax-table text properties inserted by C-y.
10965 * progmodes/cc-mode.el (c-after-change): Also clear hard
10966 syntax-table property with value nil.
10967
10968 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10969
10970 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10971 when reading the events; the buffer layout shall not be changed.
10972
10973 2013-05-27 Leo Liu <sdl.web@gmail.com>
10974
10975 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10976 New variable.
10977 (inferior-octave-directory-tracker): Automatically re-sync
10978 default-directory.
10979 (octave-help): Improve handling of 'See also'.
10980
10981 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * doc-view.el: Minor naming convention tweaks.
10984 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10985
10986 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10987 even if there's no `display' property yet (bug#14435).
10988
10989 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10990
10991 * subr.el (unmsys--file-name): Rename from reveal-filename.
10992
10993 * Makefile.in (custom-deps, finder-data, autoloads)
10994 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10995 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10996 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10997
10998 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11001 error-completion on the first 2 args of condition-case (bug#14446).
11002 Don't burp at EOB.
11003
11004 2013-05-25 Leo Liu <sdl.web@gmail.com>
11005
11006 * comint.el (comint-previous-matching-input): Do not flood the
11007 *Messages* buffer with trivial messages.
11008
11009 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * progmodes/flymake.el (flymake-nop): Don't return a string.
11012 (flymake-set-at): Fix typo.
11013
11014 * simple.el (read--expression): New function, extracted from
11015 eval-expression. Set completion-at-point-functions (bug#14465).
11016 (eval-expression, eval-minibuffer): Use it.
11017
11018 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11019
11020 * progmodes/flymake.el (flymake-save-buffer-in-file)
11021 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11022 (flymake-selected-frame, flymake-log, flymake-ins-after)
11023 (flymake-set-at, flymake-get-buildfile-from-cache)
11024 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11025 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11026 Refine the doc string.
11027 (flymake-get-file-name-mode-and-masks): Reformat.
11028 (flymake-get-real-file-name-function): Fix a minor bug.
11029
11030 2013-05-24 Juri Linkov <juri@jurta.org>
11031
11032 * progmodes/grep.el (grep-mode-font-lock-keywords):
11033 Support =linenumber= format used by git-grep for lines with
11034 function names. (Bug#13549)
11035
11036 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11039 0 after a semi-colon; it works better for smie-auto-fill.
11040 (octave--indent-new-comment-line): New function.
11041 (octave-indent-new-comment-line): Use it (indirectly).
11042 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11043 modify comment-line-break-function.
11044
11045 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11046 (smie-setup): Use add-function to set it.
11047
11048 2013-05-24 Sam Steingold <sds@gnu.org>
11049
11050 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11051 argument (before the `interactive' argument).
11052
11053 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * image-mode.el (image-mode-winprops): Add winprops to
11056 image-mode-winprops-alist before running
11057 image-mode-new-window-functions.
11058 * doc-view.el (doc-view-new-window-function): Don't delay
11059 doc-view-goto-page via timers (bug#14435).
11060
11061 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11062
11063 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11064 (doc-view-desktop-save-buffer): New function.
11065 (doc-view-restore-desktop-buffer): New function.
11066 (desktop-buffer-mode-handlers):
11067 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11068 handler.
11069 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11070 `desktop-save-buffer' function.
11071
11072 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11073
11074 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11075 (tramp-gvfs-file-name-handler): Raise a user error when
11076 `tramp-gvfs-enabled' is nil.
11077 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11078 Do not raise a user error when loading package. (Bug#14447)
11079
11080 * net/xesam.el: Move to obsolete/.
11081
11082 2013-05-24 Glenn Morris <rgm@gnu.org>
11083
11084 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11085
11086 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11087
11088 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11089 (Info-find-node, Man-getpage-in-background): Declare.
11090
11091 * mail/unrmail.el (unrmail):
11092 Replace obsolete detect-coding-with-priority.
11093
11094 * net/socks.el (socks-split-string): Use this rather than split-string.
11095 (socks-nslookup-host): Update for above change.
11096 (dynamic-choice, s5-dynamic-choice-match)
11097 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11098 Comment out unused code.
11099
11100 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11101 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11102 (gud-tooltip-echo-area): Make obsolete.
11103 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11104
11105 * progmodes/js.el (js--optimize-arglist): Declare.
11106
11107 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11108
11109 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11110 (ediff-window-C): Declare.
11111
11112 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11113 Tweak requires to silence compiler.
11114
11115 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11116 (he-search-string, he-tried-table, he-expand-list)
11117 (he-init-string, he-string-member, he-substitute-string)
11118 (he-reset-string): Declare.
11119
11120 * obsolete/options.el (list-options): Use custom-variable-p,
11121 rather than obsolete alias.
11122
11123 2013-05-23 Sam Steingold <sds@gnu.org>
11124
11125 * simple.el (shell-command-on-region): Pass the `replace' argument
11126 down to `call-process-region' to comply with the doc as reported on
11127 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11128
11129 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * emacs-lisp/smie.el (smie-indent-forward-token)
11132 (smie-indent-backward-token): Handle string tokens (bug#14381).
11133
11134 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11135
11136 * ielm.el (ielm-menu): New menu.
11137 (inferior-emacs-lisp-mode): Set comment-start.
11138
11139 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11140
11141 * textmodes/reftex.el (reftex-ref-style-toggle):
11142 Fix deactivate action.
11143
11144 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11145 Add cleveref macros.
11146
11147 * textmodes/reftex-parse.el
11148 (reftex-locate-bibliography-files): Accept options for
11149 bibliography commands.
11150 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11151 Add addbibresource. Basic Biblatex support.
11152
11153 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11154
11155 * net/tramp-gvfs.el (top):
11156 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11157 when loading package. (Bug#14447)
11158
11159 2013-05-23 Glenn Morris <rgm@gnu.org>
11160
11161 * progmodes/js.el: No need to load comint when compiling.
11162 (ring-insert, comint-send-string, comint-send-input)
11163 (comint-last-input-end, ido-chop): Declare.
11164
11165 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11166 * vc/ediff-mult.el: Adjust requires.
11167 (ediff-directories-internal, ediff-directory-revisions-internal)
11168 (ediff-patch-file-internal): Declare.
11169 * vc/ediff-ptch.el: Adjust requires.
11170 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11171 (ediff-find-file): Autoload.
11172 * vc/ediff-util.el: No need to load ediff when compiling.
11173 (ediff-regions-internal): Declare.
11174 * vc/ediff-wind.el: Adjust requires.
11175 (ediff-compute-toolbar-width): Define when compiling.
11176 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11177 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11178 (dired-get-filename, dired-get-marked-files)
11179 (ediff-last-dir-patch, ediff-patch-default-directory)
11180 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11181 (ediff-patch-buffer-internal): Declare.
11182
11183 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11184 (ispell-process, ispell-buffer-local-words, lm-summary)
11185 (lm-section-start, lm-section-end): Declare.
11186 (checkdoc-ispell-init): Simplify.
11187
11188 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11189 (he-string-member, he-reset-string, he-substitute-string): Declare.
11190
11191 * eshell/em-ls.el: Adjust requires.
11192 (eshell-glob-regexp): Declare.
11193 * eshell/em-tramp.el: Adjust requires.
11194 (eshell-parse-command): Autoload.
11195 * eshell/em-xtra.el: Adjust requires.
11196 (eshell-parse-command): Autoload.
11197 * eshell/esh-ext.el: Adjust requires.
11198 (eshell-parse-command, eshell-close-handles): Autoload.
11199 * eshell/esh-io.el: Adjust requires.
11200 (eshell-output-filter): Autoload.
11201 * eshell/esh-util.el: No need to load tramp when compiling.
11202 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11203 Declare.
11204 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11205 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11206 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11207 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11208 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11209 * eshell/esh-opt.el, eshell/esh-proc.el:
11210 * eshell/esh-var.el: Adjust requires.
11211 * eshell/eshell.el: Do not require esh-util twice.
11212 (eshell-add-input-to-history): Declare.
11213 (eshell-command): Check history module is active before using it.
11214
11215 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11216
11217 2013-05-22 Leo Liu <sdl.web@gmail.com>
11218
11219 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11220
11221 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11222
11223 * autorevert.el (auto-revert-notify-add-watch)
11224 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11225 it indicates changes in file modification time.
11226
11227 2013-05-22 Glenn Morris <rgm@gnu.org>
11228
11229 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11230 Always delete the autoloaded function from the noruntime and
11231 unresolved functions lists.
11232
11233 * allout.el: No need to load epa, epg, overlay when compiling.
11234 (epg-context-set-passphrase-callback, epg-list-keys)
11235 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11236 (epg-key-user-id-list): Declare.
11237
11238 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11239 (viper-set-parsing-style-toggling-macro)
11240 (viper-set-emacs-state-searchstyle-macros):
11241 Use called-interactively-p on Emacs.
11242 (viper-looking-back): Make it an obsolete alias. Update callers.
11243 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11244 Use looking-back rather than viper-looking-back.
11245 (viper-tmp-insert-at-eob, viper-enlarge-region)
11246 (viper-read-string-with-history, viper-register-to-point)
11247 (viper-append-to-register, viper-change-state-to-vi)
11248 (viper-backward-char-carefully, viper-forward-char-carefully)
11249 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11250 (viper-change-state-to-emacs): Declare.
11251 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11252 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11253 * emulation/viper-mous.el: Do not load viper-cmd.
11254 (viper-backward-char-carefully, viper-forward-char-carefully)
11255 (viper-forward-word, viper-adjust-window): Declare.
11256
11257 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11258
11259 * progmodes/idlw-help.el (idlwave-help-fontify):
11260 Use called-interactively-p.
11261
11262 * term/w32console.el (w32-get-console-codepage)
11263 (w32-get-console-output-codepage): Declare.
11264
11265 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11266 Remove unnecessary declarations.
11267 (dframe-message): Doc fix.
11268
11269 * info.el (dframe-select-attached-frame, dframe-current-frame):
11270 Declare.
11271
11272 * speedbar.el (speedbar-message): Make it an obsolete alias.
11273 Update all callers.
11274 (speedbar-with-attached-buffer)
11275 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11276 (speedbar-with-writable): Use backquote.
11277 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11278 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11279 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11280 rather than speedbar- aliases.
11281 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11282 (speedbar-make-specialized-keymap, speedbar-insert-button)
11283 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11284 (speedbar-do-function-pointer): Declare.
11285 (rmail-speedbar-button, rmail-speedbar-find-file)
11286 (rmail-speedbar-move-message):
11287 Use dframe-with-attached-buffer rather than speedbar- alias.
11288 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11289 (dframe-message, speedbar-make-specialized-keymap)
11290 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11291 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11292 (speedbar-insert-button, dframe-select-attached-frame)
11293 (dframe-maybee-jump-to-attached-frame)
11294 (speedbar-change-initial-expansion-list)
11295 (speedbar-previously-used-expansion-list-name): Declare.
11296 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11297 Use dframe-message, dframe-with-attached-buffer rather than
11298 speedbar- aliases.
11299 (gud-sentinel): Silence compiler.
11300 * progmodes/vhdl-mode.el (speedbar-refresh)
11301 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11302 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11303 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11304 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11305 (speedbar-file-lists, speedbar-make-tag-line)
11306 (speedbar-line-directory, speedbar-goto-this-file)
11307 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11308 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11309 (speedbar-make-button, speedbar-reset-scanners)
11310 (speedbar-files-item-info, speedbar-line-text)
11311 (speedbar-find-file-in-frame, speedbar-set-timer)
11312 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11313 (speedbar-with-writable): Do not (re)define it.
11314 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11315 rather than speedbar- alias.
11316
11317 2013-05-21 Leo Liu <sdl.web@gmail.com>
11318
11319 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11320 menu items.
11321 (octave-mode): Tweak fill-nobreak-predicate.
11322 (inferior-octave-startup): Check process to avoid infinite loop.
11323 (inferior-octave): Pop to buffer first to show abornmal process
11324 exit information.
11325
11326 2013-05-21 Glenn Morris <rgm@gnu.org>
11327
11328 * printing.el (pr-menu-bar): Define when compiling.
11329
11330 2013-05-21 Leo Liu <sdl.web@gmail.com>
11331
11332 * progmodes/octave.el (octave-auto-fill): Remove.
11333 (octave-indent-new-comment-line): Improve.
11334 (octave-mode): Use auto fill mode through
11335 comment-line-break-function and fill-nobreak-predicate.
11336 (octave-goto-function-definition): Support DEFUN_DLD.
11337 (octave-beginning-of-defun): Small tweak.
11338 (octave-help): Show parent directory.
11339
11340 2013-05-21 Glenn Morris <rgm@gnu.org>
11341
11342 * files.el (dired-unmark):
11343 * progmodes/gud.el (gdb-input): Update declarations.
11344
11345 * calculator.el (electric, ehelp): No need to load when compiling.
11346 (Electric-command-loop, electric-describe-mode): Declare.
11347
11348 * doc-view.el (doc-view-current-converter-processes): Move before use.
11349
11350 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11351 Move MODE-set-explicitly definition before use.
11352
11353 * international/mule-diag.el (mule-diag):
11354 Don't use obsolete window-system-version.
11355
11356 * mail/feedmail.el (smtpmail): No need to load when compiling.
11357 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11358
11359 * mail/mail-utils.el (rfc822): No need to load when compiling.
11360 (rfc822-addresses): Autoload it.
11361 (mail-strip-quoted-names): Trivial simplification.
11362
11363 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11364 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11365
11366 * net/snmp-mode.el (tempo): Don't duplicate requires.
11367
11368 * progmodes/prolog.el (info): No need to load when compiling.
11369 (comint): Require before shell requires it.
11370 (Info-goto-node): Autoload it.
11371 (Info-follow-nearest-node): Declare.
11372 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11373
11374 * textmodes/artist.el (picture-mode-exit): Declare.
11375
11376 * textmodes/reftex-parse.el (reftex-parse-from-file):
11377 Trivial rewrite so the compiler can parse it better.
11378
11379 2013-05-20 Leo Liu <sdl.web@gmail.com>
11380
11381 * progmodes/octave.el (octave-help-mode-map)
11382 (octave-help-mode-finish-hook): New variables.
11383 (octave-help-mode, octave-help-mode-finish): New functions.
11384 (octave-help): Use octave-help-mode.
11385
11386 2013-05-20 Glenn Morris <rgm@gnu.org>
11387
11388 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11389
11390 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11391
11392 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11393 start at point, so that expansion starting right after opening
11394 slash in a regexp is recognized.
11395 (ruby-syntax-before-regexp-re): New defvar, extracted from
11396 ruby-syntax-propertize-function. Since the value of this regexp
11397 is looked up at runtime now, we should be able to turn
11398 `ruby-syntax-methods-before-regexp' into a defcustom later.
11399 (ruby-syntax-propertize-function): Split regexp matching into two
11400 parts, for opening and closing slashes. That allows us to skip
11401 over string interpolations and support multiline regexps.
11402 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11403 for them, which calls `ruby-syntax-propertize-expansion'.
11404 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11405 call to `ruby-syntax-propertize-function'.
11406 (ruby-syntax-propertize-expansion): Extracted from
11407 `ruby-syntax-propertize-expansions'. Handles one expansion.
11408 (ruby-syntax-propertize-percent-literal): Leave point right after
11409 the percent symbol, so that the expression expansion rule can
11410 propertize the contents.
11411 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11412 heredoc openers.
11413 (ruby-syntax-propertize-expansions): Remove.
11414
11415 2013-05-18 Juri Linkov <juri@jurta.org>
11416
11417 * man.el (Man-default-man-entry): Remove `-' from the end
11418 of the default value. (Bug#14400)
11419
11420 2013-05-18 Glenn Morris <rgm@gnu.org>
11421
11422 * comint.el (comint-password-prompt-regexp):
11423 Allow "password for XXX" where XXX contains colons (eg https://...).
11424
11425 2013-05-18 Leo Liu <sdl.web@gmail.com>
11426
11427 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11428 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11429 (octave-source-directories): Don't check process.
11430 (octave-source-directories, octave-find-definition): Doc fix.
11431
11432 2013-05-18 Glenn Morris <rgm@gnu.org>
11433
11434 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11435 Remove backspace/delete bindings. (Bug#14392)
11436
11437 * cus-dep.el (custom-make-dependencies): Sort the output.
11438 (custom-versions-load-alist): Convert comment to doc.
11439
11440 2013-05-17 Leo Liu <sdl.web@gmail.com>
11441
11442 * newcomment.el (comment-search-backward): Stricter in finding
11443 comment start. (Bug#14303)
11444
11445 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11446 (octave-comment-start-skip): Properly anchored.
11447
11448 2013-05-17 Leo Liu <sdl.web@gmail.com>
11449
11450 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11451 Clean up when turned off. (Bug#14395)
11452 (smie--highlight-matching-block-overlay): No longer buffer-local.
11453 (smie-highlight-matching-block): Adjust.
11454
11455 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11456
11457 Doc string fix for "nanoseconds" (Bug#14406).
11458 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11459 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11460
11461 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11462
11463 * calc/calc-units.el (math-extract-units): Preserve powers
11464 of units.
11465
11466 2013-05-17 Leo Liu <sdl.web@gmail.com>
11467
11468 * subr.el (delete-consecutive-dups): New function.
11469 * ido.el (ido-set-matches-1): Use it.
11470 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11471 * ido.el (ido-remove-consecutive-dups): Remove.
11472
11473 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11476 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11477 regexp-opt's `words'.
11478
11479 2013-05-16 Leo Liu <sdl.web@gmail.com>
11480
11481 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11482 (smie--highlight-matching-block-overlay)
11483 (smie--highlight-matching-block-lastpos)
11484 (smie--highlight-matching-block-timer): New variables.
11485 (smie-highlight-matching-block): New function.
11486 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11487 (smie-setup): Conditionally enable smie-blink-matching-open.
11488
11489 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11490
11491 Sync with upstream verilog-mode r840.
11492 * progmodes/verilog-mode.el (verilog-mode-version)
11493 (verilog-mode-release-date): Update.
11494 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11495 (verilog-sig-tieoff): Fix string error on
11496 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11497 (verilog-read-decls): Fix parameters confusing
11498 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11499
11500 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11501
11502 * subr.el (reveal-filename): New function.
11503
11504 * loadup.el: Compute Emacs executable versions on MS-Windows,
11505 where executables have the .exe extension. Add a hard link
11506 emacs-XX.YY.ZZ.exe on MS-Windows.
11507
11508 * Makefile.in (XARGS_LIMIT): New variable.
11509 (custom-deps, finder-data, autoloads)
11510 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11511 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11512 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11513 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11514
11515 2013-05-16 Leo Liu <sdl.web@gmail.com>
11516
11517 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11518 (octave-mode-menu, octave-mode-map): Remove its uses.
11519
11520 2013-05-16 Reto Zimmermann <reto@gnu.org>
11521
11522 Sync with upstream vhdl mode v3.34.2.
11523 * progmodes/vhdl-mode.el: Use `push' throughout.
11524 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11525 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11526 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11527 (vhdl-actual-generic-name): New option to derive actual generic name.
11528 (vhdl-port-paste-signals): Replace formal by actual generics.
11529 (vhdl-beautify): New name for old group vhdl-align. Update users.
11530 (vhdl-beautify-options): New option.
11531 (vhdl-last-input-event): New compat alias. Use throughout.
11532 (vhdl-goto-line): Replace user level function `goto-line'.
11533 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11534 vhdl-fix-statement-buffer.
11535 (vhdl-create-mode-menu): Add some entries.
11536 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11537 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11538 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11539 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11540 to force statements on one line.
11541 (vhdl-remove-trailing-spaces-region):
11542 New, split from vhdl-remove-trailing-spaces.
11543 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11544 Respect vhdl-beautify-options.
11545 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11546 (vhdl-update-sensitivity-list): Not add with index if exists without.
11547 Not include array index with signal. Ignore keywords in comments.
11548 (vhdl-get-visible-signals): Regexp tweaks.
11549 (vhdl-template-component-inst): Handle empty library.
11550 (vhdl-template-type): Add template for 'enum' type.
11551 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11552 Use vhdl-replace-string.
11553 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11554 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11555 (vhdl-speedbar-initialize): Update for above name change.
11556 (vhdl-compose-wire-components): Fix in handling of constants.
11557 (vhdl-error-regexp-emacs-alist): New variable.
11558 (vhdl-error-regexp-add-emacs): New function;
11559 adds support for new compile.el (Emacs 22+)
11560 (vhdl-generate-makefile-1): Change target order for single lib. units.
11561 Allow use of absolute file names.
11562
11563 2013-05-16 Leo Liu <sdl.web@gmail.com>
11564
11565 * simple.el (prog-indent-sexp): Indent enclosing defun.
11566
11567 2013-05-15 Glenn Morris <rgm@gnu.org>
11568
11569 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11570 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11571 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11572 (whitespace-highlight): Move to whitespace group.
11573
11574 * comint.el (comint-source):
11575 * pcmpl-linux.el (pcmpl-linux):
11576 * shell.el (shell-faces):
11577 * eshell/esh-opt.el (eshell-opt):
11578 * international/ccl.el (ccl): Remove empty custom groups.
11579
11580 * completion.el (dynamic-completion-mode):
11581 * jit-lock.el (jit-lock-debug-mode):
11582 * minibuffer.el (completion-in-region-mode):
11583 * type-break.el (type-break-mode-line-message-mode)
11584 (type-break-query-mode):
11585 * emulation/tpu-edt.el (tpu-edt-mode):
11586 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11587 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11588 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11589
11590 * term/xterm.el (xterm): Change parent group to terminals.
11591
11592 * master.el (master): Remove empty custom group.
11593 (master-mode): Remove unused :group argument.
11594 * textmodes/refill.el (refill): Remove empty custom group.
11595 (refill-mode): Remove unused :group argument.
11596
11597 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11598
11599 * cus-dep.el: Provide a feature.
11600 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11601 Don't mistakenly ignore files whose basenames match a basename
11602 from preloaded-file-list (eg cedet/ede/simple.el).
11603 Add a fallback method for getting :group.
11604
11605 2013-05-15 Juri Linkov <juri@jurta.org>
11606
11607 * isearch.el (isearch-char-by-name): Rename from
11608 `isearch-insert-char-by-name'. Doc fix.
11609 (isearch-forward): Mention `isearch-char-by-name' in
11610 the docstring. (Bug#13348)
11611
11612 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11613 `exit-minibuffer' instead of
11614 `isearch-nonincremental-exit-minibuffer'.
11615 (isearch-edit-string): Remove mention of
11616 `isearch-nonincremental-exit-minibuffer' from docstring.
11617 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11618 (isearch-forward-exit-minibuffer)
11619 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11620
11621 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * loadup.el: Just use unversioned DOC.
11624
11625 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11626 literals as extending to EOB.
11627 (nxml-last-fontify-end): Remove unused variable.
11628 (nxml-after-change1): Use with-silent-modifications.
11629 (nxml-extend-after-change-region): Simplify.
11630 (nxml-extend-after-change-region1): Remove function.
11631 (nxml-after-change1): Don't adjust for dependent regions.
11632 (nxml-fontify-matcher): Simplify.
11633 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11634 (xmltok-add-dependent): Remove function.
11635 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11636 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11637 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11638 unclosed <[[, <?, comment, and other literals as extending to EOB.
11639 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11640 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11641 Remove functions.
11642 (rng-do-some-validation-1): Don't mark dependent regions.
11643 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11644 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11645 (nxml-clear-dependent-regions): Remove functions.
11646 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11647 (nxml-ensure-scan-up-to-date):
11648 Don't clear&mark dependent regions.
11649
11650 2013-05-15 Leo Liu <sdl.web@gmail.com>
11651
11652 * progmodes/octave.el (octave-goto-function-definition):
11653 Improve and fix callers.
11654
11655 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11658 the setter (bug#14387).
11659
11660 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11661 surrounding group (bug#14402).
11662
11663 2013-05-14 Juri Linkov <juri@jurta.org>
11664
11665 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11666 (Bug#14390)
11667
11668 2013-05-14 Glenn Morris <rgm@gnu.org>
11669
11670 * progmodes/f90.el (f90-imenu-generic-expression):
11671 Fix typo in 2013-05-08 change. (Bug#14402)
11672
11673 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11674
11675 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11676 Remove signals for which replies are never received.
11677
11678 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11679
11680 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11681 (gdb-handler-alist, gdb-handler-number): Remove variables.
11682 (gdb-handler-list): New variable.
11683 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11684 (gdb-pending-handler-p, gdb-handle-reply)
11685 (gdb-remove-all-pending-triggers): New functions.
11686 (gdb-discard-unordered-replies): New defcustom.
11687 (gdb-handler): New defstruct.
11688 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11689 instead of gdb-pending-triggers. Update docstring.
11690 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11691 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11692 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11693 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11694 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11695 (gdb-frame-handler): Pending triggers are now automatically managed.
11696 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11697 Remove argument.
11698 (gdb-input): Automatically handles pending triggers. Update docstring.
11699 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11700 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11701 Update comments.
11702 (gdb-done-or-error): Now use gdb-handle-reply.
11703
11704 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11705
11706 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11707 gdb-debug-log.
11708
11709 2013-05-14 Glenn Morris <rgm@gnu.org>
11710
11711 * subr.el (user-emacs-directory-warning): New option.
11712 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11713
11714 2013-05-14 Leo Liu <sdl.web@gmail.com>
11715
11716 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11717 during redisplay.
11718 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11719 (octave-font-lock-texinfo-comment): Fix invalid search bound
11720 error: wrong side of point.
11721
11722 2013-05-14 Glenn Morris <rgm@gnu.org>
11723
11724 * progmodes/flymake.el (flymake-xml-program): New option.
11725 (flymake-xml-init): Use it.
11726
11727 * term/xterm.el: Provide a feature.
11728
11729 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11730
11731 2013-05-13 Glenn Morris <rgm@gnu.org>
11732
11733 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11734 Add compat aliases as a hack workaround. (Bug#14384)
11735
11736 2013-05-13 Leo Liu <sdl.web@gmail.com>
11737
11738 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11739 ###, and %!.
11740 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11741 C-M-q.
11742 (octave-comment-start-skip): Include %!.
11743 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11744
11745 2013-05-12 Leo Liu <sdl.web@gmail.com>
11746
11747 * progmodes/octave.el (inferior-octave-startup): Store the value
11748 of __octave_srcdir__ for octave-source-directories.
11749 (inferior-octave-check-process): New function refactored out of
11750 inferior-octave-send-list-and-digest.
11751 (octave-source-directories)
11752 (octave-find-definition-filename-function): New variables.
11753 (octave-source-directories)
11754 (octave-find-definition-default-filename): New functions.
11755 (octave-find-definition): Improve to find functions implemented in C++.
11756
11757 2013-05-12 Glenn Morris <rgm@gnu.org>
11758
11759 * calendar/diary-lib.el (diary-outlook-format-1):
11760 Don't include dayname in the output. (Bug#14349)
11761
11762 2013-05-11 Glenn Morris <rgm@gnu.org>
11763
11764 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11765
11766 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11767 Treat cc-provide like provide.
11768
11769 2013-05-11 Kevin Ryde <user42@zip.com.au>
11770
11771 * cus-dep.el (custom-make-dependencies):
11772 Use generated-autoload-load-name for the sake of files such
11773 such cedet/semantic/bovine/c.el, where the base file name
11774 is not in load-path. (Bug#5277)
11775
11776 2013-05-11 Glenn Morris <rgm@gnu.org>
11777
11778 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11779 Provide features.
11780
11781 2013-05-11 Leo Liu <sdl.web@gmail.com>
11782
11783 * progmodes/octave.el (octave-indent-comment): Improve.
11784 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11785 (octave-eldoc-function-signatures, octave-eldoc-function):
11786 New functions.
11787 (octave-mode, inferior-octave-mode): Add eldoc support.
11788
11789 2013-05-11 Richard Stallman <rms@gnu.org>
11790
11791 * epa.el (epa-decrypt-file): Take output file name as argument
11792 and read it using `interactive'.
11793
11794 2013-05-11 Leo Liu <sdl.web@gmail.com>
11795
11796 * progmodes/octave.el (octave-beginning-of-line)
11797 (octave-end-of-line): Check before using up-list because it jumps
11798 out of more syntactic contructs since moving to smie.
11799 (octave-indent-comment): New function.
11800 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11801 (octave-begin-keywords, octave-end-keywords)
11802 (octave-reserved-words, octave-smie-bnf-table)
11803 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11804
11805 2013-05-11 Glenn Morris <rgm@gnu.org>
11806
11807 * faces.el (internal-face-x-get-resource):
11808 * frame.el (ns-display-monitor-attributes-list):
11809 * calc/calc-aent.el (math-to-radians-2):
11810 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11811 Fix declarations.
11812
11813 * calc/calc-menu.el: Make it loadable in isolation.
11814
11815 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11816 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11817 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11818 (eudc-bbdb-query-internal): Require 'bbdb.
11819
11820 * lpr.el (lpr-headers-switches):
11821 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11822
11823 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11824
11825 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11826
11827 * term.el (term-set-escape-char): Make it idempotent.
11828
11829 2013-05-10 Leo Liu <sdl.web@gmail.com>
11830
11831 * progmodes/octave.el (inferior-octave-completion-table):
11832 No longer a function and all uses changed. Use cache to speed up
11833 completion due to bug#11906.
11834 (octave-beginning-of-defun): Re-write to be more general.
11835
11836 2013-05-10 Glenn Morris <rgm@gnu.org>
11837
11838 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11839
11840 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * comint.el (comint-redirect-send-command-to-process): Use :around
11843 rather than :override for comint-redirect-filter.
11844 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11845 Call it instead of comint-redirect-original-filter-function (which
11846 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11847
11848 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11849
11850 * frame.el (display-monitor-attributes-list): Add NS case.
11851 (ns-display-monitor-attributes-list): Declare.
11852
11853 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11854
11855 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11856
11857 2013-05-09 Glenn Morris <rgm@gnu.org>
11858
11859 * international/fontset.el (vertical-centering-font-regexp):
11860 Set standard-value.
11861
11862 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11863
11864 * bookmark.el (bookmark-search-delay):
11865 * cus-start.el (vertical-centering-font-regexp):
11866 * ps-mule.el (ps-mule-font-info-database-default):
11867 * ps-print.el (ps-default-fg, ps-default-bg):
11868 * type-break.el (type-break-good-break-interval):
11869 * whitespace.el (whitespace-indentation-regexp)
11870 (whitespace-space-after-tab-regexp):
11871 * emacs-lisp/testcover.el (testcover-1value-functions)
11872 (testcover-noreturn-functions, testcover-progn-functions)
11873 (testcover-prog1-functions):
11874 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11875 * eshell/em-glob.el (eshell-glob-translate-alist):
11876 * play/tetris.el (tetris-tty-colors):
11877 * progmodes/cpp.el (cpp-face-default-list):
11878 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11879 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11880 (idlwave-help-browser-generic-args):
11881 * progmodes/make-mode.el (makefile-special-targets-list):
11882 * progmodes/python.el (python-shell-virtualenv-path):
11883 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11884 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11885 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11886 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11887 * textmodes/reftex-vars.el (reftex-format-label-function):
11888 * textmodes/remember.el (remember-diary-file): Fix custom types.
11889
11890 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11891 Add :version.
11892
11893 2013-05-09 Leo Liu <sdl.web@gmail.com>
11894
11895 * progmodes/octave.el (inferior-octave-completion-at-point):
11896 Restore file completion. (Bug#14300)
11897 (inferior-octave-startup): Fix incorrect highlighting for the
11898 first prompt.
11899
11900 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * progmodes/ruby-mode.el: First cut at SMIE support.
11903 (ruby-use-smie): New var.
11904 (ruby-smie-grammar): New constant.
11905 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11906 (ruby-smie--forward-token, ruby-smie--backward-token)
11907 (ruby-smie-rules): New functions.
11908 (ruby-mode-variables): Setup SMIE if applicable.
11909
11910 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11911
11912 * simple.el (line-move-visual): Signal beginning/end of buffer
11913 only if vertical-motion moved less than it was requested. Avoids
11914 silly incorrect error messages when there are display strings with
11915 multiple newlines at EOL.
11916
11917 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11920 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11921 (prolog-char-quote-workaround):
11922 * progmodes/cperl-mode.el (cperl-under-as-char):
11923 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11924 Mark as obsolete.
11925 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11926 their declaration.
11927 (vhdl-mode-syntax-table-init): Remove.
11928
11929 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11930 last change.
11931
11932 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11933 syntax for "_".
11934 (ld-script-font-lock-keywords):
11935 Change regexps to use things like \_< and \_>.
11936
11937 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11938 Change all regexps to use things like \_< and \_>.
11939
11940 * progmodes/autoconf.el (autoconf-definition-regexp)
11941 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11942 Handle a _ with symbol syntax.
11943 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11944
11945 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11946 Consolidate declaration.
11947 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11948 the declaration.
11949 (ada-create-syntax-table): Remove.
11950 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11951 already has the right syntax nowadays.
11952 (ada-goto-next-word): Don't change the syntax of "_".
11953
11954 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11955 with-wrapper-hook.
11956
11957 2013-05-08 Sam Steingold <sds@gnu.org>
11958
11959 * thingatpt.el (thing-at-point): Accept optional second argument
11960 NO-PROPERTIES to strip the text properties from the return value.
11961 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11962 to `thing-at-point' instead of stripping the properties ourselves.
11963 Also, when `thing-at-point' fails to find a url, prepend "http://"
11964 to the filename at point on the assumption that the user is
11965 pointing at something like gnu.org/gnu.
11966
11967 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11970 * faces.el (crm-separator):
11971 Silence byte-compiler.
11972
11973 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11974 (tool-bar-map): Remove unneeded defvars.
11975
11976 2013-05-08 Leo Liu <sdl.web@gmail.com>
11977
11978 Re-work a fix for bug#10994 based on Le Wang's patch.
11979 * ido.el (ido-remove-consecutive-dups): New helper.
11980 (ido-completing-read): Use it.
11981 (ido-chop): Revert fix for bug#10994.
11982
11983 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11984
11985 * cus-edit.el (custom-save-variables):
11986 Pretty-print long values. (Bug#14187)
11987
11988 2013-05-08 Glenn Morris <rgm@gnu.org>
11989
11990 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11991 (m4-mode-syntax-table): Init in the defvar.
11992 (m4-mode-abbrev-table): Let define-derived-mode define it.
11993
11994 2013-05-08 Tom Tromey <tromey@redhat.com>
11995
11996 * progmodes/m4-mode.el (m4-mode-syntax-table):
11997 Do not treat "_" as word constituent. (Bug#14167)
11998
11999 2013-05-07 Glenn Morris <rgm@gnu.org>
12000
12001 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12002 Remove explicit eshell-isearch-cancel-map.
12003
12004 * progmodes/f90.el (f90-smart-end-names): New option.
12005 (f90-smart-end): Doc fix.
12006 (f90-end-block-optional-name): New constant.
12007 (f90-block-match): Respect f90-smart-end-names.
12008
12009 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12010
12011 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12012 about implicit semi-colons (bug#14218).
12013
12014 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12015
12016 * frame.el (display-monitor-attributes-list)
12017 (frame-monitor-attributes): New functions.
12018
12019 2013-05-06 Leo Liu <sdl.web@gmail.com>
12020
12021 * progmodes/octave.el (octave-syntax-propertize-function): Change
12022 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12023 (octave-font-lock-keywords): Use octave-operator-regexp.
12024 (octave-completion-at-point): Rename from
12025 octave-completion-at-point-function.
12026 (inferior-octave-directory-tracker): Robustify.
12027 (octave-text-functions): Remove and fix its uses. No such things
12028 any more.
12029
12030 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 * emacs-lisp/trace.el (trace--display-buffer): New function.
12033 (trace-make-advice): Use it.
12034
12035 2013-05-06 Juri Linkov <juri@jurta.org>
12036
12037 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12038 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12039 Doc fix.
12040 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12041 in the help string. (Bug#12985)
12042
12043 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12044
12045 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12046
12047 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * progmodes/perl-mode.el: Add support for here documents.
12050 (perl-syntax-propertize-function): Match here-doc markers.
12051 (perl-syntax-propertize-special-constructs): Find their end.
12052 (perl-imenu-generic-expression): Use [:alnum:].
12053
12054 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12055 (advice--add-function): Refresh the advice if already present
12056 (bug#14317).
12057
12058 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12059
12060 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12061
12062 2013-05-06 Glenn Morris <rgm@gnu.org>
12063
12064 * w32-fns.el (w32-charset-info-alist): Declare.
12065
12066 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12067 of its defcustom properties.
12068 (eshell-cmpl-initialize): No need to load pcomplete.
12069
12070 * generic-x.el: No need to require comint when compiling.
12071
12072 * net/eudc-export.el: Make it loadable without bbdb.
12073 (top-level): Use require rather than load-library.
12074 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12075 (eudc-batch-export-records-to-bbdb)
12076 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12077 Require bbdb.
12078
12079 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12082 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12083 some tweaks, instead.
12084
12085 2013-05-05 Leo Liu <sdl.web@gmail.com>
12086
12087 * progmodes/octave.el (octave-font-lock-keywords)
12088 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12089 (inferior-octave-send-list-and-digest): Improve error message.
12090 (octave-mode, inferior-octave-mode): Use setq-local.
12091 (octave-help): Set info-lookup-mode.
12092
12093 2013-05-05 Richard Stallman <rms@gnu.org>
12094
12095 * vc/compare-w.el (compare-windows-whitespace):
12096 Treat no-break space as whitespace.
12097
12098 * mail/rmailsum.el (rmail-summary-rmail-update):
12099 Detect empty summary and don't change selected message.
12100 (rmail-summary-goto-msg): Likewise.
12101
12102 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12103 Doc fixes, rename args.
12104
12105 2013-05-05 Alan Mackenzie <acm@muc.de>
12106
12107 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12108
12109 2013-05-05 Juri Linkov <juri@jurta.org>
12110
12111 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12112 to not add the length of the summary segment to the return value.
12113 (Bug#14125)
12114
12115 2013-05-05 Leo Liu <sdl.web@gmail.com>
12116
12117 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12118 (inferior-octave-output-filter): Remove.
12119 (octave-send-region, inferior-octave-startup): Fix callers.
12120 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12121 (octave-binary-file-extensions): New user variable.
12122 (octave-find-definition): Confirm if opening binary files.
12123 (octave-help-file): Use octave-find-definition to get the binary
12124 confirmation.
12125 (octave-help): Adjust for octave-help-file change.
12126
12127 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12130 Merge the two entries that handle function definitions.
12131 (pascal--syntax-propertize): New const.
12132 (pascal-mode): Use it. Use setq-local.
12133
12134 2013-05-04 Glenn Morris <rgm@gnu.org>
12135
12136 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12137 (diary-from-outlook): Respect diary-from-outlook-function.
12138
12139 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12142 Move the declaration from C.
12143 (read-minibuffer, eval-minibuffer): Move from C.
12144 (completion-setup-function): Avoid minibuffer-completion-contents.
12145
12146 2013-05-03 Leo Liu <sdl.web@gmail.com>
12147
12148 * progmodes/octave.el (octave-font-lock-keywords): Do not
12149 dehighlight 'end' in comments or strings.
12150 (octave-completing-read, octave-goto-function-definition):
12151 New helpers.
12152 (octave-help-buffer): New user variable.
12153 (octave-help-file, octave-help-function): New button types.
12154 (octave-help): New command and bind it to C-h ;.
12155 (octave-find-definition): New command and bind it to M-.
12156 (user-error): Alias to error if not defined.
12157
12158 2013-05-02 Leo Liu <sdl.web@gmail.com>
12159
12160 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12161 for \. (bug#14332)
12162 (octave-font-lock-keywords): Include [ and {.
12163
12164 2013-05-02 Leo Liu <sdl.web@gmail.com>
12165
12166 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12167 (inferior-octave): Remove calling comint-mode and return the buffer.
12168 (inferior-octave-startup): Cosmetic changes.
12169
12170 2013-05-02 Leo Liu <sdl.web@gmail.com>
12171
12172 * progmodes/octave.el (octave-syntax-propertize-function):
12173 Include the case when ' is at line beginning. (Bug#14336)
12174
12175 2013-05-02 Glenn Morris <rgm@gnu.org>
12176
12177 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12178 * desktop.el (vc-dir-mode): Just autoload it here.
12179
12180 2013-05-02 Alan Mackenzie <acm@muc.de>
12181
12182 Eliminate variable c-standard-font-lock-fontify-region-function.
12183 * progmodes/cc-mode.el
12184 (c-standard-font-lock-fontify-region-function): Remove.
12185 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12186
12187 2013-05-01 Leo Liu <sdl.web@gmail.com>
12188
12189 * progmodes/octave.el: Compatible with older emacs-24 releases.
12190 (inferior-octave-has-built-in-variables): Remove. Built-in
12191 variables were removed from Octave in 2007.
12192 (inferior-octave-startup): Fix uses.
12193 (comint-line-beginning-position): Remove compatibility code for
12194 emacs 21.
12195
12196 2013-05-01 Juri Linkov <juri@jurta.org>
12197
12198 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12199
12200 2013-05-01 Juri Linkov <juri@jurta.org>
12201
12202 * comint.el (comint-previous-matching-input): Don't print message
12203 "History item: %d" when `isearch-mode' is active.
12204 (comint-history-isearch-message): Print message "History item: %d"
12205 when `comint-input-ring-index' is not empty and this function is
12206 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12207
12208 2013-05-01 Leo Liu <sdl.web@gmail.com>
12209
12210 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12211 definitions. Use completion-at-point to insert keywords.
12212 (octave-abbrev-start): Remove.
12213 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12214
12215 2013-04-30 Leo Liu <sdl.web@gmail.com>
12216
12217 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12218 change.
12219
12220 2013-04-30 Alan Mackenzie <acm@muc.de>
12221
12222 Handle arbitrarily long C++ member initialisation lists.
12223 * progmodes/cc-engine.el (c-back-over-member-initializers):
12224 new function.
12225 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12226 (most) member init lists.
12227
12228 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12229
12230 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12231 variable.
12232
12233 2013-04-30 Leo Liu <sdl.web@gmail.com>
12234
12235 * progmodes/octave.el (octave-variables): Remove. No builtin
12236 variables any more. All converted to functions.
12237 (octave-font-lock-keywords, octave-completion-at-point-function):
12238 Fix uses.
12239 (octave-font-lock-texinfo-comment): New user variable.
12240 (octave-texinfo-font-lock-keywords): New variable for texinfo
12241 comment block.
12242 (octave-function-comment-block): New face.
12243 (octave-font-lock-texinfo-comment): New function.
12244 (octave-mode): Font lock texinfo comment block.
12245
12246 2013-04-29 Leo Liu <sdl.web@gmail.com>
12247
12248 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12249 indexing expression.
12250 (octave-continuation-string): Do not use \.
12251 (inferior-octave-complete-impossible): Remove.
12252 (inferior-octave-completion-table)
12253 (inferior-octave-completion-at-point): Remove its uses.
12254 (inferior-octave-startup): completion_matches was introduced to
12255 Octave in 1996 so safe to assume it.
12256 (octave-function-file-comment): Improve to follow how Octave does it.
12257 (octave-update-function-file-comment): Tweak.
12258
12259 2013-04-29 Leo Liu <sdl.web@gmail.com>
12260
12261 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12262 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12263 (octave-function-file-comment): Fix typo.
12264 (octave-sync-function-file-names): Use read-char-choice.
12265
12266 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12267
12268 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12269 to t for the less important warnings.
12270
12271 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12272
12273 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12274
12275 2013-04-27 Glenn Morris <rgm@gnu.org>
12276
12277 * vc/log-view.el (log-view-current-entry):
12278 Treat "---" separator lines as part of the following rev. (Bug#14169)
12279
12280 2013-04-27 Juri Linkov <juri@jurta.org>
12281
12282 * subr.el (read-number): Doc fix about using it by interactive
12283 code letter `n'. (Bug#14254)
12284
12285 2013-04-27 Juri Linkov <juri@jurta.org>
12286
12287 * desktop.el (desktop-auto-save-timeout): New option.
12288 (desktop-file-checksum): New variable.
12289 (desktop-save): Add optional arg `auto-save' and don't auto-save
12290 if nothing changed.
12291 (desktop-auto-save-timer): New variable.
12292 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12293 (after-init-hook): Call `desktop-auto-save-set-timer'.
12294 Suggested by Reuben Thomas <rrt@sc3d.org> in
12295 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12296
12297 2013-04-27 Leo Liu <sdl.web@gmail.com>
12298
12299 * progmodes/octave.el (octave-function-file-p)
12300 (octave-skip-comment-forward, octave-function-file-comment)
12301 (octave-update-function-file-comment): New functions.
12302 (octave-mode-map): Bind C-c ; to
12303 octave-update-function-file-comment.
12304 (octave-mode-menu): Add octave-update-function-file-comment.
12305 (octave-mode, inferior-octave-mode): Fix doc-string.
12306 (octave-insert-defun): Conform to Octave's coding convention.
12307 (Bug#14285)
12308
12309 * files.el (basic-save-buffer): Don't let errors in
12310 before-save-hook prevent saving buffer.
12311
12312 2013-04-20 Roland Winkler <winkler@gnu.org>
12313
12314 * faces.el (read-face-name): Use completing-read if arg multiple
12315 is nil.
12316
12317 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12318
12319 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12320 displayed, move point to after the totals line.
12321 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12322 for the details.
12323
12324 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12327 Add current dir to the load-path.
12328 (package-generate-autoloads): Don't rely on
12329 autoload-ensure-default-file.
12330
12331 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12332
12333 * textmodes/remember.el (remember-store-in-files): Document that
12334 the file name format is passed to `format-time-string'.
12335
12336 2013-04-26 Leo Liu <sdl.web@gmail.com>
12337
12338 * progmodes/octave.el (octave-sync-function-file-names): New function.
12339 (octave-mode): Use it in before-save-hook.
12340
12341 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12344 (bug#14274).
12345
12346 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12347 \n and comment, even if it's not an implicit ; (bug#14218).
12348
12349 2013-04-26 Glenn Morris <rgm@gnu.org>
12350
12351 * subr.el (read-number): Once more use `read' rather than
12352 `string-to-number', to trap non-numeric input. (Bug#14254)
12353
12354 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12355
12356 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12357 Use `syntax-multiline' text property consistently instead of
12358 `font-lock-multiline'. (Bug#14237)
12359
12360 2013-04-26 Glenn Morris <rgm@gnu.org>
12361
12362 * emacs-lisp/shadow.el (list-load-path-shadows):
12363 No longer necessary to check for duplicate simple.el, since
12364 2012-07-07 change to init_lread to not include installation lisp
12365 directories in load-path when running uninstalled. (Bug#14270)
12366
12367 2013-04-26 Leo Liu <sdl.web@gmail.com>
12368
12369 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12370 (octave-mode, inferior-octave-mode): Use setq-local.
12371 (octave-not-in-string-or-comment-p): Rename to
12372 octave-in-string-or-comment-p.
12373 (octave-in-comment-p, octave-in-string-p)
12374 (octave-in-string-or-comment-p): Replace defsubst with defun.
12375
12376 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12377
12378 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12379
12380 2013-04-25 Bastien Guerry <bzg@gnu.org>
12381
12382 * textmodes/remember.el (remember-data-directory)
12383 (remember-directory-file-name-format): Fix custom types.
12384
12385 2013-04-25 Leo Liu <sdl.web@gmail.com>
12386
12387 * progmodes/octave.el (octave-completion-at-point-function):
12388 Make use of inferior octave process.
12389 (octave-initialize-completions): Remove.
12390 (inferior-octave-completion-table): New function.
12391 (inferior-octave-completion-at-point): Use it.
12392 (octave-completion-alist): Remove.
12393
12394 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12397 (opascal-mode-syntax-table): New var.
12398 (opascal-literal-kind, opascal-is-literal-end)
12399 (opascal-literal-token-at): Rewrite.
12400 (opascal--literal-start-re, opascal-font-lock-keywords)
12401 (opascal--syntax-propertize): New constants.
12402 (opascal-font-lock-defaults): Adjust.
12403 (opascal-mode): Use them. Set comment-<foo> variables as well.
12404 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12405 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12406 (delphi-other-face, opascal-other-face): Remove face variables.
12407 (opascal-save-state): Remove macro.
12408 (opascal-fontifying-progress-step): Remove constant.
12409 (opascal--ignore-changes): Remove var.
12410 (opascal-set-token-property, opascal-parse-next-literal)
12411 (opascal-is-stable-literal, opascal-complete-literal)
12412 (opascal-is-literal-start, opascal-face-of)
12413 (opascal-parse-region, opascal-parse-region-until-stable)
12414 (opascal-fontify-region, opascal-after-change)
12415 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12416 (opascal-debug-parse-region, opascal-debug-parse-window)
12417 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12418 (opascal-debug-fontify-buffer): Remove.
12419 (opascal-debug-mode-map): Adjust accordingly.
12420
12421 2013-04-25 Leo Liu <sdl.web@gmail.com>
12422
12423 Merge octave-mod.el and octave-inf.el into octave.el with some
12424 cleanups.
12425 * progmodes/octave.el: New file renamed from octave-mod.el.
12426 * progmodes/octave-inf.el: Merged into octave.el.
12427 * progmodes/octave-mod.el: Renamed to octave.el.
12428
12429 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12430
12431 * textmodes/reftex-vars.el
12432 (reftex-label-ignored-macros-and-environments): New defcustom.
12433
12434 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12435
12436 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12439 (smie-indent-keyword): Improve the check to ensure that the next
12440 comment is really on the same line.
12441 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12442
12443 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12444 semi-colons if the line is not otherwise empty (bug#14218).
12445
12446 2013-04-25 Glenn Morris <rgm@gnu.org>
12447
12448 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12449
12450 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * progmodes/opascal.el (opascal-set-token-property): Rename from
12453 opascal-set-text-properties and only set `token' (bug#14134).
12454 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12455 (opascal-literal-text-properties): Remove.
12456 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12457 Adjust callers.
12458
12459 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12460
12461 * textmodes/remember.el (remember-handler-functions): Add an
12462 option for a new handler `remember-store-in-files'.
12463 (remember-data-directory, remember-directory-file-name-format):
12464 New options.
12465 (remember-store-in-files): New function to store remember notes
12466 as separate files within a directory.
12467
12468 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12469
12470 * progmodes/compile.el (compilation-next-error-function):
12471 Pass "formats" to compilation-find-file (bug#11777).
12472
12473 2013-04-24 Glenn Morris <rgm@gnu.org>
12474
12475 * vc/vc-bzr.el (vc-bzr-print-log):
12476 * vc/vc-hg.el (vc-hg-print-log):
12477 * vc/vc-svn.el (vc-svn-print-log):
12478 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12479
12480 * vc/vc-bzr.el (vc-bzr-print-log):
12481 * vc/vc-cvs.el (vc-cvs-print-log):
12482 * vc/vc-git.el (vc-git-print-log):
12483 * vc/vc-hg.el (vc-hg-print-log):
12484 * vc/vc-mtn.el (vc-mtn-print-log):
12485 * vc/vc-rcs.el (vc-rcs-print-log):
12486 * vc/vc-sccs.el (vc-sccs-print-log):
12487 * vc/vc-svn.el (vc-svn-print-log):
12488 * vc/vc.el (vc-print-log-internal): Doc fixes.
12489
12490 2013-04-23 Glenn Morris <rgm@gnu.org>
12491
12492 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12493 Remove venerable code attempting to avoid substitute-command-keys.
12494
12495 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12496
12497 * textmodes/reftex-vars.el (reftex-label-regexps):
12498 Call `reftex-compile-variables' after changes to this variable.
12499
12500 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12503 Use lexical-binding.
12504 (jit-lock-force-redisplay): Use markers, check buffer's continued
12505 existence and beware narrowed buffers.
12506 (jit-lock-fontify-now): Adjust call accordingly.
12507
12508 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12511 to avoid misleading the user.
12512
12513 2013-04-22 Leo Liu <sdl.web@gmail.com>
12514
12515 * info-look.el: Prefer latex2e.info. (Bug#14240)
12516
12517 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12518
12519 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12520
12521 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12522 * net/tramp.el (tramp-call-process): ... here.
12523 (tramp-set-completion-function, tramp-parse-putty):
12524 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12525 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12526 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12527 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12528 (tramp-call-local-coding-command): Use `tramp-call-process'
12529 instead of `tramp-compat-call-process'.
12530
12531 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12532 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12533 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12534 (tramp-find-inline-compress): Improve traces.
12535 (tramp-maybe-send-script): Check for Perl binary.
12536 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12537
12538 2013-04-22 Daiki Ueno <ueno@gnu.org>
12539
12540 * epg.el (epg-context-pinentry-mode): New function.
12541 (epg-context-set-pinentry-mode): New function.
12542 (epg--start): Pass --pinentry-mode option to gpg command.
12543
12544 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12545
12546 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12547 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12548 `completion-at-point'. (Bug#13774)
12549
12550 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12551 default key binding for `describe-distribution' has been moved to
12552 `C-h C-o'. (Bug#13970)
12553
12554 2013-04-21 Glenn Morris <rgm@gnu.org>
12555
12556 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12557 Add doc strings.
12558 (vc-print-log): Clarify interactive prompt.
12559
12560 2013-04-20 Glenn Morris <rgm@gnu.org>
12561
12562 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12563 No longer include timestamp etc information.
12564
12565 2013-04-20 Roland Winkler <winkler@gnu.org>
12566
12567 * faces.el (read-face-name): Bug fix, return just one face if arg
12568 multiple is nil. (Bug#14209)
12569
12570 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12573 (remove-function): Autoload.
12574
12575 * comint.el (comint-redirect-original-filter-function): Remove.
12576 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12577 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12578 (vc-cvs-annotate-command):
12579 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12580 * progmodes/prolog.el (prolog-consult-compile):
12581 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12582 Use add/remove-function instead.
12583 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12584 (gud-tooltip-process-output, gud-tooltip-tips):
12585 Use add/remove-function instead.
12586 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12587 (scheme-interaction-mode, exit-scheme-interaction-mode):
12588 Use add/remove-function instead.
12589
12590 * vc/vc-dispatcher.el: Use lexical-binding.
12591 (vc--process-sentinel): Rename from vc-process-sentinel.
12592 Change last arg to be the code to run. Don't use vc-previous-sentinel
12593 and vc-sentinel-commands any more.
12594 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12595 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12596
12597 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12598
12599 * progmodes/sh-script.el (sh-imenu-generic-expression):
12600 Handle function names with a single character. (Bug#14111)
12601
12602 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12603
12604 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12605 for subroutines defined in an eval (bug#14182).
12606
12607 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12608
12609 * bookmark.el (bookmark-completing-read): Improve handling of empty
12610 string (bug#14176).
12611
12612 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12615
12616 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12617
12618 New faster Imenu implementation (bug#14058).
12619 * progmodes/python.el:
12620 (python-imenu-prev-index-position):
12621 (python-imenu-format-item-label-function)
12622 (python-imenu-format-parent-item-label-function)
12623 (python-imenu-format-parent-item-jump-label-function):
12624 New vars.
12625 (python-imenu-format-item-label)
12626 (python-imenu-format-parent-item-label)
12627 (python-imenu-format-parent-item-jump-label)
12628 (python-imenu--put-parent, python-imenu--build-tree)
12629 (python-imenu-create-index, python-imenu-create-flat-index)
12630 (python-util-popn): New functions.
12631 (python-mode): Set imenu-create-index-function to
12632 python-imenu-create-index.
12633
12634 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12635
12636 * winner.el (winner-active-region): Use region-active-p, activate-mark
12637 and deactivate-mark (bug#14225).
12638
12639 * simple.el (deactivate-mark): Don't inline it.
12640
12641 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12642
12643 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12644
12645 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12646
12647 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12648 file extensions from the archive-mode entry in order to prefer
12649 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12650
12651 2013-04-18 Leo Liu <sdl.web@gmail.com>
12652
12653 * bindings.el (help-event-list): Add ?\?.
12654
12655 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * subr.el (with-wrapper-hook): Declare obsolete.
12658 * simple.el (filter-buffer-substring-function): New hook.
12659 (filter-buffer-substring): Use it.
12660 (filter-buffer-substring-functions): Mark obsolete.
12661 * minibuffer.el (completion-in-region-function): New hook.
12662 (completion-in-region): Use it.
12663 (completion-in-region-functions): Mark obsolete.
12664 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12665 * abbrev.el (abbrev-expand-function): New hook.
12666 (expand-abbrev): Use it.
12667 (abbrev-expand-functions): Mark obsolete.
12668 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12669 and :filter-return.
12670
12671 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12672
12673 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12674 and do not care about match data.
12675
12676 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12677
12678 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12679 completion tables when completing error conditions and
12680 `declare' arguments.
12681 (lisp-complete-symbol, field-complete): Mark as obsolete.
12682 (check-parens): Unmatched parens are user errors.
12683 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12684
12685 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12686
12687 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12688 command changed buffer (ie. `flyspell-pre-buffer' is not current
12689 buffer), which prevents making decisions based on invalid value of
12690 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12691 cause an error when `flyspell-pre-point' was nil after switching
12692 buffers.
12693 (flyspell-post-command-hook): No longer needs to change buffers when
12694 checking pre-word. While at it remove unnecessary progn.
12695
12696 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12697
12698 * textmodes/ispell.el (ispell-add-per-file-word-list):
12699 Fix `flyspell-correct-word-before-point' error when accepting
12700 words and `coment-padding' is an integer by using
12701 `comment-normalize-vars' (Bug #14214).
12702
12703 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12704
12705 New defun movement commands.
12706 * progmodes/python.el (python-nav--syntactically)
12707 (python-nav--forward-defun, python-nav-backward-defun)
12708 (python-nav-forward-defun): New functions.
12709
12710 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12711
12712 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12713 (python-syntax-context): Use named compiler-macro for backwards
12714 compatibility with Emacs 24.x.
12715
12716 2013-04-17 Leo Liu <sdl.web@gmail.com>
12717
12718 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12719 octave-hide-process-buffer.
12720
12721 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12722
12723 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12724 (bug#14216).
12725
12726 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12727
12728 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12729 Fix adjustment of offset when receiving incomplete responses from GDB
12730 (bug#14129).
12731
12732 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12733
12734 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12735 python-mode-abbrev-table.
12736 (python-skeleton-define): Adjust accordingly.
12737 (python-mode-abbrev-table): New table that inherits from it so that
12738 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12739
12740 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12741 (abbrev-symbol): Use it.
12742 (abbrev--before-point): Use it since we already handle inheritance.
12743
12744 2013-04-16 Leo Liu <sdl.web@gmail.com>
12745
12746 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12747 binding to info-lookup-symbol.
12748
12749 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12750
12751 * minibuffer.el (completion--twq-all):
12752 * term/ns-win.el (ns-initialize-window-system):
12753 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12754
12755 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12756
12757 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12758 global bindings.
12759
12760 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12761
12762 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12763
12764 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12765 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12766 to nil.
12767 (ruby-end-of-defun): Remove the unused arg, change the docstring
12768 to reflect that this function is only used as the value of
12769 `end-of-defun-function'.
12770 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12771 to reflect an earlier change that beginning/end-of-defun functions
12772 jump between methods in a class definition, as well as top-level
12773 functions.
12774
12775 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * minibuffer.el (minibuffer-complete): Don't just scroll
12778 a *Completions* that's been iconified.
12779 (minibuffer-force-complete): Make sure repetitions do cycle when going
12780 through completion-in-region -> minibuffer-complete.
12781
12782 2013-04-15 Alan Mackenzie <acm@muc.de>
12783
12784 Correct the placement of c-cpp-delimiters when there're #s not at
12785 col 0.
12786
12787 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12788 place a submatch around the #.
12789 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12790 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12791 on the #, not BOL.
12792
12793 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12796 (advice--member-p): New arg `name'.
12797 (advice--add-function, advice-member-p): Use it (bug#14202).
12798
12799 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12800
12801 Reformulate java imenu-generic-expression.
12802 The old expression contained ill formed regexps.
12803
12804 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12805 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12806 (cc-imenu-java-method-arg-regexp): New defconsts.
12807 (cc-imenu-java-build-type-args-regex): New defun.
12808 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12809 handling of spaces in the regexp.
12810
12811 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12812
12813 * textmodes/ispell.el (ispell-command-loop): Remove
12814 flyspell highlight of a word when ispell accepts it (bug #14178).
12815
12816 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12817
12818 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12819 uses code from the previous `ange-ftp-run-real-handler'.
12820 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12821 only in case that function exist. This is needed for proper
12822 unloading of Tramp.
12823
12824 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12825
12826 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12827
12828 * textmodes/reftex.el (reftex-compile-variables): Use it.
12829
12830 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12831
12832 * files.el (normal-mode): Only use default major-mode if no other mode
12833 was specified.
12834
12835 * emacs-lisp/trace.el (trace-values): New function.
12836
12837 * files.el: Allow : in local variables (bug#14089).
12838 (hack-local-variable-regexp): New var.
12839 (hack-local-variables-prop-line, hack-local-variables): Use it.
12840
12841 2013-04-13 Roland Winkler <winkler@gnu.org>
12842
12843 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12844 data before it gets modified by bibtex-beginning-of-entry.
12845
12846 2013-04-13 Roland Winkler <winkler@gnu.org>
12847
12848 * textmodes/bibtex.el (bibtex-url): Doc fix.
12849
12850 2013-04-13 Roland Winkler <winkler@gnu.org>
12851
12852 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12853 does not visit a BibTeX file, exclude it from the list of buffers
12854 returned by bibtex-initialize.
12855
12856 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12857
12858 * window.el (split-window): Remove interactive form, since as a
12859 command this function is a special case of split-window-below.
12860 Correct doc string.
12861
12862 2013-04-12 Roland Winkler <winkler@gnu.org>
12863
12864 * faces.el (read-face-name): Do not override value of arg default.
12865 Allow single faces and strings as default values. Remove those
12866 elements from return value that are not faces.
12867 (describe-face): Simplify.
12868 (face-at-point): New optional args thing and multiple so that this
12869 function can provide the same functionality previously provided by
12870 read-face-name.
12871 (make-face-bold, make-face-unbold, make-face-italic)
12872 (make-face-unitalic, make-face-bold-italic, invert-face)
12873 (modify-face, read-face-and-attribute): Use face-at-point.
12874
12875 * cus-edit.el (customize-face, customize-face-other-window)
12876 * cus-theme.el (custom-theme-add-face)
12877 * face-remap.el (buffer-face-set)
12878 * facemenu.el (facemenu-set-face): Use face-at-point.
12879
12880 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12881
12882 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12883
12884 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12885
12886 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12887 off leading { and trailing } from field values.
12888
12889 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * emacs-lisp/timer.el (timer--check): New function.
12892 (timer--time, timer-set-function, timer-event-handler): Use it.
12893 (timer-set-idle-time): Simplify.
12894 (timer--activate): CSE.
12895 (timer-event-handler): Give more info in error message.
12896 (internal-timer-start-idle): New function, moved from C.
12897
12898 * mpc.el (mpc-proc): Add `restart' argument.
12899 (mpc-proc-cmd): Use it.
12900 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12901 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12902 less often.
12903
12904 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12905
12906 * progmodes/sh-script.el: Implement `sh-mode' own
12907 `add-log-current-defun-function' (bug#14112).
12908 (sh-current-defun-name): New function.
12909 (sh-mode): Use the function.
12910
12911 2013-04-09 Bastien Guerry <bzg@gnu.org>
12912
12913 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12914
12915 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12918
12919 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12920 timer (bug#14156).
12921
12922 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12923
12924 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12925 declaration.
12926
12927 2013-04-07 Leo Liu <sdl.web@gmail.com>
12928
12929 * pcmpl-x.el: New file.
12930
12931 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12932
12933 Do not set x-display-name until X connection is established.
12934 This is needed to prevent from weird situation described at
12935 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12936 * frame.el (make-frame): Set x-display-name after call to
12937 window system initialization function, not before.
12938 * term/x-win.el (x-initialize-window-system): Add optional
12939 display argument and use it.
12940 * term/w32-win.el (w32-initialize-window-system):
12941 * term/ns-win.el (ns-initialize-window-system):
12942 * term/pc-win.el (msdos-initialize-window-system):
12943 Add compatible optional display argument.
12944
12945 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12946
12947 * files.el (normal-backup-enable-predicate): On MS-Windows and
12948 MS-DOS compare truenames of temporary-file-directory and of the
12949 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12950 don't fail comparison by compare-strings. Also, compare file
12951 names case-insensitively on MS-Windows and MS-DOS.
12952
12953 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12956 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12957
12958 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12959
12960 * whitespace.el (whitespace-color-on, whitespace-color-off):
12961 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12962
12963 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12964
12965 * ispell.el (ispell-set-spellchecker-params):
12966 Really set `ispell-args' for all equivs.
12967
12968 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * ido.el (ido-completions): Use extra elements of ido-decorations
12971 (bug#14143).
12972 (ido-decorations): Update docstring.
12973
12974 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12975
12976 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12977 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12978 nil during initialization, in order not to miss changes since the
12979 file was opened. (Bug#14140)
12980
12981 2013-04-05 Leo Liu <sdl.web@gmail.com>
12982
12983 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12984
12985 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12986
12987 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12988
12989 2013-04-04 Glenn Morris <rgm@gnu.org>
12990
12991 * electric.el (electric-pair-inhibit-predicate): Add :version.
12992
12993 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12996 when a package is required several times (bug#14082).
12997
12998 2013-04-04 Roland Winkler <winkler@gnu.org>
12999
13000 * faces.el (read-face-name): Behave as promised by the docstring.
13001 Assume that arg default is a list of faces.
13002 (describe-face): Call read-face-name with list of default faces.
13003
13004 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13005
13006 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13007 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13008 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13009 the header.
13010 (bookmark-exit-hook-internal): Save even if list is empty.
13011
13012 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13013
13014 * emacs-lisp/package.el (package-pinned-packages): New var.
13015 (package--add-to-archive-contents): Obey it (bug#14118).
13016
13017 2013-04-03 Alan Mackenzie <acm@muc.de>
13018
13019 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13020 Also adapt to the new values of element 7 of a parse state.
13021
13022 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13023 parameter `not-in-delimiter'. Handle being inside comment opener.
13024 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13025 character in case we're typing a '*' after a '/'.
13026 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13027 instead by passing the parameter to c-state-pp-to-literal.
13028
13029 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13030 for elt. 7 of a parse state.
13031
13032 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13033
13034 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13035 * international/latin1-disp.el, international/mule-util.el:
13036 * language/cyril-util.el, language/european.el, language/ind-util.el:
13037 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13038 * language/tibetan.el, language/viet-util.el:
13039 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13040
13041 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13044 (electric-pair-post-self-insert-function): Use it.
13045 (electric-pair-default-inhibit): New function, extracted from
13046 electric-pair-post-self-insert-function.
13047
13048 2013-03-31 Roland Winkler <winkler@gnu.org>
13049
13050 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13051
13052 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13055
13056 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13057
13058 Un-indent after "pass" and "return" statements (Bug#13888)
13059 * progmodes/python.el (python-indent-block-enders): New var.
13060 (python-indent-calculate-indentation): Use it.
13061
13062 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13063
13064 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13065 defun. Defining it as defalias could introduce too eager
13066 byte-compiler optimization. (Bug#14030)
13067
13068 2013-03-30 Chong Yidong <cyd@gnu.org>
13069
13070 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13071
13072 2013-03-30 Leo Liu <sdl.web@gmail.com>
13073
13074 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13075 (kmacro-execute-from-register): Pass the keyboard macro to
13076 kmacro-call-macro or repeating won't work correctly.
13077
13078 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13079
13080 * progmodes/subword.el: Back to using `forward-symbol'.
13081
13082 * subr.el (forward-whitespace, forward-symbol)
13083 (forward-same-syntax): Move from thingatpt.el.
13084
13085 2013-03-29 Leo Liu <sdl.web@gmail.com>
13086
13087 * kmacro.el (kmacro-to-register): New command.
13088 (kmacro-execute-from-register): New function.
13089 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13090
13091 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13092
13093 * mpc.el: Use defvar-local and setq-local.
13094 (mpc--proc-connect): Connection failures are not bugs.
13095 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13096 (mpc-volume-map): Bind to the up-events.
13097
13098 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13099
13100 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13101 instead of `forward-symbol'.
13102
13103 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13104
13105 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13106 (edebug--recursive-edit): Use it.
13107 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13108 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13109
13110 2013-03-28 Leo Liu <sdl.web@gmail.com>
13111
13112 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13113
13114 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13115
13116 * facemenu.el (list-colors-callback): New defvar.
13117 (list-colors-redisplay): New function.
13118 (list-colors-display): Install list-colors-redisplay as the
13119 revert-buffer-function. (Bug#14063)
13120
13121 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13124 and suffixes don't overlap (bug#14061).
13125
13126 * case-table.el: Use lexical-binding.
13127 (case-table-get-table): New function.
13128 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13129
13130 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13131
13132 * progmodes/subword.el: Add `superword-mode' to do word motion
13133 over symbol_words (parallels and leverages `subword-mode' which
13134 does word motion inside MixedCaseWords).
13135
13136 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13137
13138 * eshell/em-unix.el: Move su and sudo to...
13139 * eshell/em-tramp.el: ...Eshell tramp module.
13140
13141 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13144 Change return value to be a sexp. Delay `get-buffer' to after
13145 restoring the desktop (bug#13951).
13146
13147 2013-03-26 Leo Liu <sdl.web@gmail.com>
13148
13149 * register.el: Move semantic tag handling back to
13150 cedet/semantic/senator.el. (Bug#14052)
13151
13152 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13153
13154 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13155 into the prompt either (bug#13963).
13156
13157 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13158
13159 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13160 part of "(error-foo)".
13161
13162 2013-03-24 Juri Linkov <juri@jurta.org>
13163
13164 * replace.el (list-matching-lines-prefix-face): New defcustom.
13165 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13166 `occur-engine' if `face-differs-from-default-p' returns t.
13167 (occur-engine): Add `,' inside backquote construct to evaluate
13168 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13169 Pass `prefix-face' to the functions `occur-context-lines' and
13170 `occur-engine-add-prefix'.
13171 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13172 `prefix-face' and propertize the prefix with `prefix-face'.
13173 (Bug#14017)
13174
13175 2013-03-24 Leo Liu <sdl.web@gmail.com>
13176
13177 * nxml/rng-valid.el (rng-validate-while-idle)
13178 (rng-validate-quick-while-idle): Guard against deleted buffer.
13179 (Bug#13999)
13180
13181 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13182 is the last entry in kill-buffer-hook.
13183
13184 * files.el (kill-buffer-hook): Doc fix.
13185
13186 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13187
13188 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13189 Make it safe-local.
13190
13191 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13192
13193 2013-03-23 Leo Liu <sdl.web@gmail.com>
13194
13195 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13196 Remove.
13197
13198 * nxml/rng-valid.el (rng-validate-mode)
13199 (rng-after-change-function, rng-do-some-validation):
13200 * nxml/rng-maint.el (rng-validate-buffer):
13201 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13202 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13203 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13204 (nxml-extend-after-change-region): Use with-silent-modifications.
13205
13206 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13207 timer-idle-list.
13208
13209 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13210 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13211 timer-idle-list. (Bug#13999)
13212
13213 2013-03-23 Juri Linkov <juri@jurta.org>
13214
13215 * info.el (info-index-match): New face.
13216 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13217 main pattern and add text properties with the new face to matches
13218 in index entries relative to the beginning of the index entry.
13219 (Bug#14015)
13220
13221 2013-03-21 Eric Ludlam <zappo@gnu.org>
13222
13223 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13224 Inhibit read only while inserting objects.
13225
13226 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13227
13228 * progmodes/cfengine.el: Update docs to mention
13229 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13230 symbol motion. Remove "_" from the word syntax.
13231
13232 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13233
13234 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13235 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13236
13237 2013-03-20 Juri Linkov <juri@jurta.org>
13238
13239 * info.el (Info-next-reference-or-link)
13240 (Info-prev-reference-or-link): New functions.
13241 (Info-next-reference, Info-prev-reference): Use them.
13242 (Info-try-follow-nearest-node): Handle footnote navigation.
13243 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13244
13245 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13248 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13249
13250 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13251
13252 Suppress unnecessary non-ASCII chatter during build process.
13253 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13254 (batch-skkdic-convert): Suppress most of the chatter.
13255 It's not needed so much now that machines are faster,
13256 and its non-ASCII component was confusing; see Dmitry Gutov in
13257 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13258
13259 2013-03-20 Leo Liu <sdl.web@gmail.com>
13260
13261 * ido.el (ido-chop): Fix bug#10994.
13262
13263 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13264
13265 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13266 Remove vars.
13267 (whitespace-color-on, whitespace-color-off):
13268 Use `font-lock-fontify-buffer' (Bug#13817).
13269
13270 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13273 remapping in mode-line.
13274 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13275
13276 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13277
13278 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13279 value for `whitespace-line' face (Bug#13875).
13280 (whitespace-font-lock-keywords): Change description.
13281 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13282 the constructed keywords instead.
13283 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13284
13285 2013-03-19 Leo Liu <sdl.web@gmail.com>
13286
13287 * progmodes/compile.el (compilation-display-error): New command.
13288 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13289 C-o. (Bug#13992)
13290
13291 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13292
13293 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13294
13295 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13296
13297 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13298
13299 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13300
13301 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13302
13303 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13304 * net/tramp-gvfs.el (top):
13305 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13306 (tramp-handle-shell-command): Use it.
13307 (tramp-dissect-file-name): Raise an error when hostname is a
13308 method name, and neither method nor user is specified.
13309
13310 * net/trampver.el: Update release number.
13311
13312 2013-03-18 Leo Liu <sdl.web@gmail.com>
13313
13314 Make sure eldoc can be turned off properly.
13315 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13316 eldoc-mode.
13317 (eldoc-display-message-p): Revert last change.
13318 (eldoc-display-message-no-interference-p)
13319 (eldoc-print-current-symbol-info): Tweak.
13320
13321 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13322
13323 * doc-view.el (doc-view-new-window-function): Check the new window
13324 overlay's display property instead the char property of the
13325 buffer's first char. Use `with-selected-window' instead of
13326 `save-window-excursion' with `select-window'.
13327 (doc-view-document->bitmap): Check the current doc-view overlay's
13328 display property instead the char property of the buffer's first char.
13329
13330 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13331
13332 Automate the build of ja-dic.el (Bug#13984).
13333 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13334 from the input, rather than assume that it's been done for us by the
13335 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13336 the current date into a ja-dic.el comment, as that complicates
13337 regression testing.
13338
13339 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * whitespace.el: Fix double evaluation.
13342 (whitespace-space, whitespace-hspace, whitespace-tab)
13343 (whitespace-newline, whitespace-trailing, whitespace-line)
13344 (whitespace-space-before-tab, whitespace-indentation)
13345 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13346 obsolete defvars.
13347 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13348 (whitespace-color-on): Use a single font-lock-add-keywords call.
13349 Fix double-evaluation of face variables.
13350
13351 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13352
13353 * net/tramp-adb.el (tramp-adb-parse-device-names):
13354 Use `start-process' instead of `call-process'. Otherwise, the
13355 function might be blocked under MS Windows. (Bug#13299)
13356
13357 2013-03-17 Leo Liu <sdl.web@gmail.com>
13358
13359 Extend eldoc to display info in the mode-line. (Bug#13978)
13360 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13361 (eldoc-mode-line-string): New variable.
13362 (eldoc-minibuffer-message): New function.
13363 (eldoc-message-function): New variable.
13364 (eldoc-message): Use it.
13365 (eldoc-display-message-p)
13366 (eldoc-display-message-no-interference-p):
13367 Support eldoc-post-insert-mode.
13368
13369 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13370 (eval-expression): Run it.
13371
13372 2013-03-17 Roland Winkler <winkler@gnu.org>
13373
13374 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13375 strings in the list of return values.
13376
13377 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13378
13379 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13380 radix before checking for HMS forms.
13381
13382 2013-03-16 Leo Liu <sdl.web@gmail.com>
13383
13384 * progmodes/scheme.el: Add indentation and font-locking for λ.
13385 (Bug#13975)
13386
13387 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13390 token before point (bug#13942).
13391
13392 2013-03-16 Leo Liu <sdl.web@gmail.com>
13393
13394 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13395
13396 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13397
13398 * startup.el (command-line-normalize-file-name): Fix handling of
13399 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13400 <xfq.free@gmail.com> in
13401 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13402
13403 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13404
13405 Sync with Tramp 2.2.7.
13406
13407 * net/trampver.el: Update release number.
13408
13409 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13410
13411 * doc-view.el: Fix bug#13887.
13412 (doc-view-insert-image): Don't modify overlay associated to
13413 non-live windows, and implement horizontal centering of image in
13414 case it's smaller than the window.
13415 (doc-view-new-window-function): Force redisplay of new windows on
13416 doc-view buffers.
13417
13418 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13419
13420 * saveplace.el (save-place-alist-to-file): Don't sort
13421 `save-place-alist', just pretty-print it (bug#13882).
13422
13423 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13424
13425 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13426 Check whether `default-file-name-coding-system' is bound.
13427 It isn't in XEmacs.
13428
13429 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13432 backquotes for `obsolete' (bug#13929).
13433
13434 * international/mule.el (find-auto-coding): Include file name in
13435 obsolescence warning (bug#13922).
13436
13437 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13438
13439 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13440 for CFEngine 3-specific indentation.
13441 (cfengine3-indent-line): Use it. Fix up category regex.
13442 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13443
13444 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13445
13446 * type-break.el (type-break-file-name):
13447 * textmodes/remember.el (remember-data-file):
13448 * strokes.el (strokes-file):
13449 * shadowfile.el (shadow-initialize):
13450 * saveplace.el (save-place-file):
13451 * ps-bdf.el (bdf-cache-file):
13452 * progmodes/idlwave.el (idlwave-config-directory):
13453 * net/quickurl.el (quickurl-url-file):
13454 * international/kkc.el (kkc-init-file-name):
13455 * ido.el (ido-save-directory-list-file):
13456 * emulation/viper.el (viper-custom-file-name):
13457 * emulation/vip.el (vip-startup-file):
13458 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13459 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13460
13461 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13462
13463 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13464 * language/thai-word.el: Switch to UTF-8.
13465
13466 See ChangeLog.16 for earlier changes.
13467
13468 ;; Local Variables:
13469 ;; coding: utf-8
13470 ;; End:
13471
13472 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13473
13474 This file is part of GNU Emacs.
13475
13476 GNU Emacs is free software: you can redistribute it and/or modify
13477 it under the terms of the GNU General Public License as published by
13478 the Free Software Foundation, either version 3 of the License, or
13479 (at your option) any later version.
13480
13481 GNU Emacs is distributed in the hope that it will be useful,
13482 but WITHOUT ANY WARRANTY; without even the implied warranty of
13483 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13484 GNU General Public License for more details.
13485
13486 You should have received a copy of the GNU General Public License
13487 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.